File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -128,11 +128,11 @@ jobs:
128128 if [[ "${{ github.ref_type }}" == "tag" ]]; then
129129 version_major_minor=$(echo $VERSION_WITH_PREFIX | grep -Eo 'v[0-9]+\.[0-9]+')
130130 export CHANNELS=stable,$version_major_minor
131- export DEFAULT_CHANNEL=$version_major_minor
131+ export DEFAULT_CHANNEL=stable
132132 export VERSION=${{ env.VERSION_WITHOUT_PREFIX }}
133133 elif [[ "${{ github.ref_type }}" == "branch" ]]; then
134134 export CHANNELS=stable,v1.1 # hard coded
135- export DEFAULT_CHANNEL=v1.1 # hard coded
135+ export DEFAULT_CHANNEL=stable # hard coded
136136 export VERSION=1.1.0-${{ env.VERSION_WITH_PREFIX }} # using the commit hash
137137 export NETWORK_OPERATOR_VERSION=${{ env.VERSION_WITH_PREFIX }} # for push use commit sha
138138 fi
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ Build the bundle:
1111
1212** Note** :
1313- ` VERSION ` should be a valid semantic version
14- - ` DEFAULT_CHANNEL ` should be in the following format: ` vMAJOR.MINOR ` , without the patch version
14+ - ` DEFAULT_CHANNEL ` should be ` stable `
1515- ` CHANNELS ` should include the ` DEFAULT_CHANNEL ` value and ` stable ` seperated by a comma
1616- ` TAG ` should use SHA256
1717
@@ -23,7 +23,7 @@ skopeo inspect docker://nvcr.io/nvidia/cloud-native/network-operator:v1.1.0 | jq
2323```
2424
2525``` bash
26- DEFAULT_CHANNEL=v1.1 CHANNELS=v1.1,stable VERSION=1.1.0 TAG=nvcr.io/nvidia/cloud-native/network-operator@sha256:17afa53f1cf3733c8d0cd282c565975ed5de3124dfc2b7c485ad12c97e51c251 make bundle
26+ DEFAULT_CHANNEL=stable CHANNELS=v1.1,stable VERSION=1.1.0 TAG=nvcr.io/nvidia/cloud-native/network-operator@sha256:17afa53f1cf3733c8d0cd282c565975ed5de3124dfc2b7c485ad12c97e51c251 make bundle
2727```
2828
2929Build the bundle image:
You can’t perform that action at this time.
0 commit comments