Skip to content

Commit

Permalink
filter image sync only by nvcr.io
Browse files Browse the repository at this point in the history
  • Loading branch information
addyess committed Feb 8, 2024
1 parent aea0df9 commit d6d9933
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jobs/sync-oci-images/sync-oci-images.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ pipeline {
}
stage('Process CI Images'){
steps {
sh '''#!/usr/bin/env bash
sh '''
# We need jujud-operator in rocks so we can bootstrap k8s models on
# vsphere, but the image tag has the juju version baked in. Try to
# determine a good image based on all the possible juju snaps.
Expand All @@ -176,7 +176,7 @@ pipeline {
done
# Clean up dupes by making a sortable list, uniq it, and turn it back to a string
CI_IMAGES=$(echo "${CI_IMAGES}" | xargs -n1 | sort -u | xargs)
CI_IMAGES=$(echo "${CI_IMAGES}" | xargs -n1 | sort -u | grep nvcr.io | xargs)
# All CK CI images live under ./cdk in our registry
TAG_PREFIX=$REGISTRY_URL/cdk
Expand Down

0 comments on commit d6d9933

Please sign in to comment.