add rules for building
This commit is contained in:
1 parent
5976d452e1
commit
a5f9cc96c8
5 files changed
+22
-2
No files matched your search
@@ -4,4 +4,8 @@ build_cli:
|
||||
- buildah info
|
||||
- buildah bud --storage-driver=${STORAGE_DRIVER} -t ${FQ_IMAGE_NAME}:coder-cli -f base/coder-cli/Dockerfile .
|
||||
- echo "$CI_REGISTRY_PASSWORD" | buildah login -u "$CI_REGISTRY_USER" --password-stdin "$CI_REGISTRY"
|
||||
- buildah push ${FQ_IMAGE_NAME}:coder-cli
|
||||
- buildah push ${FQ_IMAGE_NAME}:coder-cli
|
||||
rules:
|
||||
- changes:
|
||||
- base/coder-cli/**
|
||||
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
||||
@@ -4,4 +4,8 @@ build_shell:
|
||||
- buildah info
|
||||
- buildah bud --storage-driver=${STORAGE_DRIVER} -t ${FQ_IMAGE_NAME}:terraform-shell -f base/terraform-shell/Dockerfile .
|
||||
- echo "$CI_REGISTRY_PASSWORD" | buildah login -u "$CI_REGISTRY_USER" --password-stdin "$CI_REGISTRY"
|
||||
- buildah push ${FQ_IMAGE_NAME}:terraform-shell
|
||||
- buildah push ${FQ_IMAGE_NAME}:terraform-shell
|
||||
rules:
|
||||
- changes:
|
||||
- base/terraform-shell/**
|
||||
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
||||
Reference in new issue
Block a user