Skip to content

Commit

Permalink
Tag docker image as latest
Browse files Browse the repository at this point in the history
  • Loading branch information
avillar committed Aug 28, 2024
1 parent 1ae769f commit 9d77b7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/builld-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
with:
images: ${{ env.REGISTRY_IMAGE }}
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=raw,value=latest,enable=true
type=ref,event=branch
type=ref,event=tag
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
if: ${{ github.event_name != 'pull_request' }}
run: |
docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
$(printf '${{ env.REGISTRY_IMAGE }}@sha256:%s ' *)
-t ${{ env.REGISTRY_IMAGE }}:latest $(printf '${{ env.REGISTRY_IMAGE }}@sha256:%s ' *)
- name: Inspect image
run: |
Expand Down

0 comments on commit 9d77b7e

Please sign in to comment.