Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: ocp bundle registry fix #1282

Merged
merged 1 commit into from
Jan 21, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,10 @@ jobs:
password: ${{ secrets.NVCR_TOKEN }}
- name: Lookup image digest
run: |
if echo $VERSION_WITH_PREFIX | grep '-'; then
IMAGE_REGISTRY=$REGISTRY
else
if [[ "$is_push" == "false" && "$VERSION_WITH_PREFIX" != *-* ]]; then
IMAGE_REGISTRY="nvcr.io/nvidia/cloud-native" # GA release
else
IMAGE_REGISTRY=$REGISTRY
fi
network_operator_digest=$(skopeo inspect docker://$IMAGE_REGISTRY/$IMAGE_NAME:$VERSION_WITH_PREFIX | jq -r .Digest)
echo $network_operator_digest | wc -w | grep 1 # verifies value not empty
Expand Down
Loading