Skip to content

Commit 6759741

Browse files
authored
add latest tag to image
1 parent 95d3c93 commit 6759741

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build_image.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ jobs:
3838
uses: docker/metadata-action@v5
3939
with:
4040
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
41-
tags: type=sha,prefix=,format=short
41+
tags: |
42+
type=sha,prefix=,format=short
43+
type=raw,value=latest
4244
4345
# Build and push Docker image to registry
4446
- name: Build and push Docker image
@@ -56,5 +58,4 @@ jobs:
5658
with:
5759
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME}}
5860
subject-digest: ${{ steps.push.outputs.digest }}
59-
push-to-registry: true
6061

0 commit comments

Comments
 (0)