Skip to content

Commit

Permalink
ci: always push as "latest" tag
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-vtimofeenko committed Sep 12, 2024
1 parent 365f451 commit aadacef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
SKOPEO_CMD="nix develop .#default --command skopeo"
snow spcs image-registry token --format=JSON | $SKOPEO_CMD login "${{ secrets.REGISTRY_URL }}" --username 0sessiontoken --password-stdin
TAG="${{ secrets.REGISTRY_URL }}/${{ env.IMAGE_TAG }}-archive-skopeo:${{ github.sha }}"
TAG="${{ secrets.REGISTRY_URL }}/${{ env.IMAGE_TAG }}-archive-skopeo:latest"
$SKOPEO_CMD copy \
--additional-tag "$TAG" \
--insecure-policy `#otherwise fails loading policy.json `\
Expand Down

0 comments on commit aadacef

Please sign in to comment.