Skip to content

Commit 1edb295

Browse files
committed
update image version on release (tags)
1 parent 9e33bc6 commit 1edb295

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ jobs:
8787
echo "---" >> manifest.yaml
8888
cat deploy/k8s/csidriver.yaml >> manifest.yaml
8989
echo "---" >> manifest.yaml
90-
sed -E "s|image: +cloudstack-csi-driver|image: ${REGISTRY_NAME}/cloudstack-csi-driver:${VERSION}|" deploy/k8s/controller-deployment.yaml >> manifest.yaml
90+
sed -E "s|(image: +${REGISTRY_NAME}/cloudstack-csi-driver)(:[^ ]+)?|\\1:${VERSION}|" deploy/k8s/controller-deployment.yaml >> manifest.yaml
9191
echo "---" >> manifest.yaml
92-
sed -E "s|image: +cloudstack-csi-driver|image: ${REGISTRY_NAME}/cloudstack-csi-driver:${VERSION}|" deploy/k8s/node-daemonset.yaml >> manifest.yaml
92+
sed -E "s|(image: +${REGISTRY_NAME}/cloudstack-csi-driver)(:[^ ]+)?|\\1:${VERSION}|" deploy/k8s/node-daemonset.yaml >> manifest.yaml
9393
echo "---" >> manifest.yaml
9494
cat deploy/k8s/volume-snapshot-class.yaml >> manifest.yaml
9595

0 commit comments

Comments
 (0)