add entrypoint
This commit is contained in:
1 parent
ba926d1020
commit
09fb596920
1 file changed
+2
@@ -14,6 +14,7 @@ for dir in templates/*; do
|
||||
validate_${name}:
|
||||
stage: validate
|
||||
image: hashicorp/terraform:1.12
|
||||
entrypoint: ["/bin/sh", "-c"]
|
||||
script:
|
||||
- terraform -chdir=$dir init -backend=false
|
||||
- terraform -chdir=$dir validate
|
||||
@@ -21,6 +22,7 @@ validate_${name}:
|
||||
deploy_${name}:
|
||||
stage: deploy
|
||||
image: registry.bobert.me/anthorob/coder-images:coder-cli
|
||||
entrypoint: ["/bin/sh", "-c"]
|
||||
script:
|
||||
- cd $dir
|
||||
- coder templates push ${name} --tag "${CI_COMMIT_SHORT_SHA}" --description "Auto-deployed from ${CI_PROJECT_PATH} on commit ${CI_COMMIT_SHORT_SHA}" --latest --yes
|
||||
|
||||
Reference in new issue
Block a user