Skip to content

Commit

Permalink
Merge pull request #126 from enterprise-contract/EC-950
Browse files Browse the repository at this point in the history
Use skopeo directly when copying image
  • Loading branch information
lcarva authored Oct 31, 2024
2 parents cbeefc2 + fb45e1f commit 14691d9
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/konflux-policy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,12 @@ jobs:
registry: quay.io

- name: Tag latest
uses: redhat-actions/push-to-registry@v2
with:
image: quay.io/enterprise-contract/ec-release-policy:latest
tags: |
konflux
registry: quay.io/enterprise-contract/ec-release-policy
run: |
set -euo pipefail
skopeo copy --all --digestfile image.digest \
docker://quay.io/enterprise-contract/ec-release-policy:latest \
docker://quay.io/enterprise-contract/ec-release-policy:konflux
echo -n "Image Digest: "
cat image.digest

0 comments on commit 14691d9

Please sign in to comment.