Skip to content

Commit 4609d86

Browse files
committed
Build for amd and arm
tag latest
1 parent 9f60ad1 commit 4609d86

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/build-and-publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ jobs:
6565
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
6666
with:
6767
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
68+
flavor: |
69+
latest=true
6870
6971
# Build and push Docker image with Buildx (don't push on PR)
7072
# https://github.com/docker/build-push-action
@@ -73,6 +75,7 @@ jobs:
7375
uses: docker/build-push-action@ac9327eae2b366085ac7f6a2d02df8aa8ead720a
7476
with:
7577
context: .
78+
platforms: linux/amd64,linux/arm64
7679
push: ${{ github.event_name != 'pull_request' }}
7780
tags: ${{ steps.meta.outputs.tags }}
7881
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)