Skip to content

Bump versions

Bump versions #5

name: Publish Docker image
on:
release:
types: [published]
jobs:
push_to_registry:
name: Push Docker image to GitHub Packages
runs-on: ubuntu-latest
steps:
-
name: Checkout code
uses: actions/checkout@v2
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Login to Github Actions
uses: docker/login-action@v1
with:
username: ${{ github.actor }}
password: ${{ secrets.CR_PAT }}
registry: ghcr.io
-
name: Build and push
uses: docker/build-push-action@v2
with:
context: .
pull: true
push: true
tags: ghcr.io/graynk/astrologers_bot:latest
platforms: linux/amd64,linux/arm64