diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 441e6cff..924f3101 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -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