I wish GA was a better CI/CD platform

This commit is contained in:
Wavering Ana 2025-01-31 19:33:04 -05:00
parent 6e6940c21c
commit b221dfdeb7
3 changed files with 4 additions and 94 deletions

View file

@ -59,22 +59,12 @@ jobs:
${{ env.IMAGE_NAME }}
${{ env.REGISTRY }}/${{ github.repository }}
- name: Build and push Docker image (amd64)
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}-amd64
labels: ${{ steps.meta.outputs.labels }}
- name: Build and push Docker image (arm64)
uses: docker/build-push-action@v6
with:
context: .
file: ./Dockerfile
platforms: linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}-arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}