diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 5dbc89c..0bee920 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -19,14 +19,22 @@ jobs: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - - name: Build and push Docker image + - name: Build and push Docker image (linux/amd64) uses: docker/build-push-action@v5 with: context: . push: true - platforms: | - linux/arm64 - linux/amd64 + platforms: linux/amd64 + tags: | + gitea.antonlyap.pp.ua/antonlyap/ffmpeg-min:6.1 + gitea.antonlyap.pp.ua/antonlyap/ffmpeg-min:${{ github.sha }} + + - 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 }}