Skip to content

Commit bca8680

Browse files
committed
Add tags for latest and previous images
1 parent 16af2da commit bca8680

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build-docker.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ jobs:
3636
uses: docker/metadata-action@v5
3737
with:
3838
images: ${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}
39+
tags: |
40+
type=raw,value=latest
41+
type=ref,event=branch
42+
type=sha
3943
4044
- name: Build and push Docker image
4145
uses: docker/build-push-action@v5

0 commit comments

Comments
 (0)