add terraform shell
This commit is contained in:
1 parent
3974a2a47a
commit
86ac45ea93
4 files changed
+11
-1
No files matched your search
@@ -19,5 +19,6 @@ build_base:
|
|||||||
|
|
||||||
include:
|
include:
|
||||||
- "coder-cli/.gitlab-ci.yml"
|
- "coder-cli/.gitlab-ci.yml"
|
||||||
|
- "terraform-shell/.gitlab-ci.yml"
|
||||||
- "java/.gitlab-ci.yml"
|
- "java/.gitlab-ci.yml"
|
||||||
- "php/.gitlab-ci.yml"
|
- "php/.gitlab-ci.yml"
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
build_cli:
|
build_cli:
|
||||||
stage: build
|
stage: base
|
||||||
script:
|
script:
|
||||||
- buildah info
|
- buildah info
|
||||||
- buildah bud --storage-driver=${STORAGE_DRIVER} -t ${FQ_IMAGE_NAME}:coder-cli -f coder-cli/Dockerfile .
|
- buildah bud --storage-driver=${STORAGE_DRIVER} -t ${FQ_IMAGE_NAME}:coder-cli -f coder-cli/Dockerfile .
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
build_shell:
|
||||||
|
stage: base
|
||||||
|
script:
|
||||||
|
- buildah info
|
||||||
|
- buildah bud --storage-driver=${STORAGE_DRIVER} -t ${FQ_IMAGE_NAME}:terraform-shell -f terraform-shell/Dockerfile .
|
||||||
|
- echo "$CI_REGISTRY_PASSWORD" | buildah login -u "$CI_REGISTRY_USER" --password-stdin "$CI_REGISTRY"
|
||||||
|
- buildah push ${FQ_IMAGE_NAME}:coder-cli
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
FROM hashicorp/terraform:1.12.2
|
||||||
|
ENTRYPOINT []
|
||||||
Reference in new issue
Block a user