File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -247,16 +247,18 @@ jobs:
247247 # We always need to add '-stig-fips' suffix for corresponding image version
248248 # TODO: do not DOCA Driver image for now because $SOURCE_REPO is null one Network Operator will support a new version format
249249 if [[ "$component" == *StigFips ]]; then
250- COMPONENT_TAG="${COMPONENT_TAG}-stig-fips"
250+ component_tag="${COMPONENT_TAG}-stig-fips"
251+ else
252+ component_tag="${COMPONENT_TAG}"
251253 fi
252254
253255 echo "Updating component: $component"
254256 echo " Setting repository to: $DOCKER_REGISTRY_MANAGED_COMPONENTS"
255- echo " Setting version to: $COMPONENT_TAG "
257+ echo " Setting version to: $component_tag "
256258
257259 # Update repository and version for components with sourceRepository
258260 yq -i ".${component}.repository = \"$DOCKER_REGISTRY_MANAGED_COMPONENTS\"" hack/release.yaml
259- yq -i ".${component}.version = \"$COMPONENT_TAG \"" hack/release.yaml
261+ yq -i ".${component}.version = \"$component_tag \"" hack/release.yaml
260262
261263 # Pull the component's helm chart
262264 CHART_LOCATION=$(yq ".${component}.chartLocation" hack/release.yaml)
You can’t perform that action at this time.
0 commit comments