Skip to content

Commit 618447c

Browse files
ci/image: Set tag to latest
1 parent e4d561a commit 618447c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/image.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ jobs:
4040
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
4141
with:
4242
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
43+
tags: |
44+
# set latest tag for master branch
45+
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
4346
4447
- name: Build and push Docker image
4548
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4

0 commit comments

Comments
 (0)