Skip to content

Commit 581c9d6

Browse files
authored
Merge pull request #2010 from NVIDIA/commitsha
Fix: sed portability and compatibility issue for the bundle commitSha image
2 parents fb46d26 + a73f0f0 commit 581c9d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ jobs:
444444
echo "COMMIT_SHORT_SHA=${GITHUB_SHA:0:8}" >> $GITHUB_ENV
445445
- name: Update bundle CSV
446446
run: |
447-
sed -i '' -e 's|ghcr.io/nvidia/gpu-operator:[^ "]*|ghcr.io/nvidia/gpu-operator:${{ env.COMMIT_SHORT_SHA }}|g' bundle/manifests/gpu-operator-certified.clusterserviceversion.yaml
447+
sed -i -e 's|ghcr.io/nvidia/gpu-operator:[^ "]*|ghcr.io/nvidia/gpu-operator:${{ env.COMMIT_SHORT_SHA }}|g' bundle/manifests/gpu-operator-certified.clusterserviceversion.yaml
448448
echo "Bundle CSV updated successfully"
449449
- name: Build bundle-image
450450
env:

0 commit comments

Comments
 (0)