Skip to content

Commit

Permalink
chore: fix skopeo command
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Boldt <[email protected]>
  • Loading branch information
nickboldt committed Jul 31, 2024
1 parent 2669f15 commit 3c8058b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/next-container-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
# now copy images from local cache to quay, using 0.0.1-next-f00cafe, 0.0.1-next, and next tags
for image in rhdh-rhel9-operator rhdh-operator-bundle iib; do
skopeo --insecure-policy copy --all docker://quay.io/rhdh/${image}:${VERSION} quay.io/rhdh/${image}:upstream-${VERSION}
skopeo --insecure-policy copy --all docker://quay.io/rhdh/${image}:${VERSION} docker://quay.io/rhdh/${image}:upstream-${VERSION}
skopeo --insecure-policy copy --all docker://quay.io/rhdh/${image}:upstream-${VERSION} docker://quay.io/rhdh/${image}:upstream-${VERSION}-${{ env.SHORT_SHA }}
skopeo --insecure-policy copy --all docker://quay.io/rhdh/${image}:upstream-${VERSION} docker://quay.io/rhdh/${image}:upstream-${latestNext}
done
2 changes: 1 addition & 1 deletion .github/workflows/pr-container-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
# now copy images from local cache to quay, using 0.0.1-pr-123-f00cafe and 0.0.1-pr-123 tags
for image in rhdh-rhel9-operator rhdh-operator-bundle iib; do
skopeo --insecure-policy copy --all docker://quay.io/rhdh/${image}:${VERSION} quay.io/rhdh/${image}:upstream-${VERSION}
skopeo --insecure-policy copy --all docker://quay.io/rhdh/${image}:${VERSION} docker://quay.io/rhdh/${image}:upstream-${VERSION}
skopeo --insecure-policy copy --all docker://quay.io/rhdh/${image}:upstream-${VERSION} docker://quay.io/rhdh/${image}:upstream-${VERSION}
skopeo --insecure-policy copy --all docker://quay.io/rhdh/${image}:upstream-${VERSION} docker://quay.io/rhdh/${image}:upstream-${VERSION%-*}
done
Expand Down

0 comments on commit 3c8058b

Please sign in to comment.