Skip to content

Commit

Permalink
fix(ci): latest container image push on tag
Browse files Browse the repository at this point in the history
  • Loading branch information
banditopazzo committed Feb 15, 2024
1 parent 254e823 commit db8738d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,8 @@ jobs:
- name: Push to latest
if: github.ref_type == 'tag'
run: |
docker tag ${{ env.REGISTRY_IMAGE }}:${{ env.REGISTRY_TAG }} ${{ env.REGISTRY_IMAGE }}:latest
docker push ${{ env.REGISTRY_IMAGE }}:latest
docker buildx imagetools create -t ${{ env.REGISTRY_IMAGE }}:latest \
$(docker image ls --format '{{.Repository}}:{{.Tag}}' '${{ env.TMP_LOCAL_IMAGE }}' | tr '\n' ' ')
- name: Inspect image
run: |
Expand Down

0 comments on commit db8738d

Please sign in to comment.