Skip to content

Commit 238ad26

Browse files
authored
Update docker-publish.yml
1 parent e9bd131 commit 238ad26

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/docker-publish.yml

+3
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
3535
with:
3636
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
37+
tags: |
38+
type=raw,value=latest,enable={{is_default_branch}}
39+
type=sha
3740
3841
- name: Build and push Docker image
3942
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671

0 commit comments

Comments
 (0)