From 55e892b83404ba2fdc5bb5cae504fb61d31e0f03 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Wed, 7 Jun 2023 15:06:58 +0300 Subject: [PATCH] chore: explicitly set `--url` and `--token` flags --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index e009c02..35a2b22 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -15,7 +15,7 @@ CODER_TEMPLATE_DIR=${CODER_TEMPLATE_DIR:-$CODER_TEMPLATE_NAME} echo "CODER_TEMPLATE_DIR is set to ${CODER_TEMPLATE_DIR}" # Construct push command -push_command="coder templates push ${CODER_TEMPLATE_NAME} --directory ./${CODER_TEMPLATE_DIR}" +push_command="coder templates push ${CODER_TEMPLATE_NAME} --directory ./${CODER_TEMPLATE_DIR}" --url ${CODER_ACCESS_URL} --token ${CODER_SESSION_TOKEN} # Add version to the push command if specified if [ -n "${CODER_TEMPLATE_VERSION}" ]; then