Skip to content

Fix fot entrypoint

Fix fot entrypoint #9

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
attestations: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@main
- name: Login
uses: docker/login-action@master
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@master
with:
images: lanseg/telegram-bot-api
- name: Build and push
id: push
uses: docker/build-push-action@master
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Generate artifact attestation
uses: actions/attest-build-provenance@main
with:
subject-name: docker.io/lanseg/telegram-bot-api
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true