ffmpeg-min/.github/workflows/docker-image.yml
Anton b6b726d29f
All checks were successful
Publish Docker image / Push Docker image to the registry (push) Successful in 31m25s
Remove amd64
2024-05-24 20:28:58 +03:00

31 lines
855 B
YAML

name: Publish Docker image
on:
push:
branches: [main]
jobs:
push_to_registry:
name: Push Docker image to the registry
runs-on: ubuntu-22.04
steps:
- name: Check out the repo
uses: actions/checkout@v4
- name: Log in to Docker Hub
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
with:
registry: gitea.antonlyap.pp.ua
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker image (linux/arm64)
uses: docker/build-push-action@v5
with:
context: .
push: true
platforms: linux/arm64
tags: |
gitea.antonlyap.pp.ua/antonlyap/ffmpeg-min:6.1
gitea.antonlyap.pp.ua/antonlyap/ffmpeg-min:${{ github.sha }}