We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a266c7d commit 40a9c51Copy full SHA for 40a9c51
s2i-buildpacks/run
@@ -1,7 +1,7 @@
1
#!/bin/bash
2
3
# Define our ICR Namespace env var for later use
4
-ID=$(ibmcloud account show | grep "Account ID:" | sed "s/^.*: *//")
+ID=$(ibmcloud ce project current | sed -n "s/^Subdomain: *\([^ ]*\).*$/\1/p")
5
ICR_NS=s2i-b-${ID:1:12}
6
7
# Clean up previous run
0 commit comments