Skip to content

Commit 72749bc

Browse files
committed
Cleaner for loop in README
Signed-off-by: Mario Loriedo <[email protected]>
1 parent f210cb2 commit 72749bc

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,12 @@ export EDITOR_IMAGE="quay.io/che-incubator/che-code:insiders"
4848
export CLUSTER_URL="https://api.rm1.0a51.p1.openshiftapps.com:6443"
4949
export CLUSTER_TOKEN="<token>"
5050
export EDITOR_IMAGE="quay.io/che-incubator/che-code:insiders"
51-
imgs=( "ubi8" "ubi9" "alpine" "busybox" "docker" "golang" "openjdk" "fedora" "ubuntu" )
5251

53-
for img in "${imgs[@]}"; do gh workflow run ${img}-vscode-startup.yaml -f sandboxURL="${CLUSTER_URL}" -f sandboxToken="${CLUSTER_TOKEN}" -f editorImage="${EDITOR_IMAGE}"; done
52+
imgs=( "ubi8" "ubi9" "alpine" "busybox" "docker" "golang" "openjdk" "fedora" "ubuntu" )
53+
for img in "${imgs[@]}"; do
54+
gh workflow run ${img}-vscode-startup.yaml \
55+
-f sandboxURL="${CLUSTER_URL}" \
56+
-f sandboxToken="${CLUSTER_TOKEN}" \
57+
-f editorImage="${EDITOR_IMAGE}"
58+
done
5459
```

0 commit comments

Comments
 (0)