Skip to content

Publish Docker image #2

Publish Docker image

Publish Docker image #2

Workflow file for this run

# https://docs.github.com/en/actions/publishing-packages/publishing-docker-images
name: Publish Docker image
on:
workflow_dispatch:
jobs:
push_to_registries:
name: Push Docker image to multiple registries
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Push to Docker registry
uses: docker/build-push-action@v1
with:
context: .
registry: docker.atndr.net
repository: chatgpt-telegram-bot/chatgpt-telegram-bot
username: ${{ secrets.ATNDR_DOCKER_USERNAME }}
password: ${{ secrets.ATNDR_DOCKER_PASSWORD }}
tag_with_ref: true
tag_with_sha: true