feat: multi-arch docker builds with latest tag

This commit is contained in:
Henry
2025-06-07 14:24:47 +01:00
parent efe83ec8a9
commit cbc90c3002

View File

@@ -66,6 +66,10 @@ jobs:
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=ref,event=branch,prefix=,suffix=,value=latest
type=ref,event=tag
type=sha,format=short
# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
@@ -76,6 +80,7 @@ jobs:
context: .
file: apps/web/Dockerfile
push: ${{ github.event_name != 'pull_request' }}
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha