We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdc14d3 commit bda3768Copy full SHA for bda3768
entrypoint.sh
@@ -22,9 +22,9 @@ if [ -n "${CODER_TEMPLATE_VERSION}" ]; then
22
push_command+=" --name ${CODER_TEMPLATE_VERSION}"
23
fi
24
25
-# Add activate flag to the push command if specified
26
-if [ -n "${CODER_TEMPLATE_ACTIVATE}" ]; then
27
- push_command+=" --activate=${CODER_TEMPLATE_ACTIVATE}"
+# Add activate flag to the push command if it is false
+if [ "${CODER_TEMPLATE_ACTIVATE}" = "false" ]; then
+ push_command+=" --activate=false"
28
29
30
# Add confirmation flag to the push command
0 commit comments