From 5c10d108dd1095009959423c101ea7f0e1774ccb Mon Sep 17 00:00:00 2001 From: Anton Date: Fri, 24 May 2024 19:34:55 +0300 Subject: [PATCH] Remove multiplatform build --- .github/workflows/docker-image.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) 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 }}