Skip to content

Commit

Permalink
Add 'latest' tag
Browse files Browse the repository at this point in the history
  • Loading branch information
alangrainger committed Oct 31, 2024
1 parent dd1f794 commit 9b1538c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

- name: Set up QEMU
uses: docker/[email protected]

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

Expand All @@ -37,6 +37,9 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags:
# set latest tag for default branch
type=raw,value=latest,enable={{is_default_branch}}

- name: Build and push Docker image
uses: docker/build-push-action@v5
Expand Down

0 comments on commit 9b1538c

Please sign in to comment.