Edit .gitlab-ci.yml
This commit is contained in:
1 parent
c3e12984d5
commit
2a9b05805e
1 file changed
+4
@@ -6,3 +6,7 @@ build_cli:
|
|||||||
- buildah bud --storage-driver=${STORAGE_DRIVER} -t ${FQ_IMAGE_NAME}:cli -f tools/coder-cli/Dockerfile .
|
- buildah bud --storage-driver=${STORAGE_DRIVER} -t ${FQ_IMAGE_NAME}:cli -f tools/coder-cli/Dockerfile .
|
||||||
- echo "$CI_REGISTRY_PASSWORD" | buildah login -u "$CI_REGISTRY_USER" --password-stdin "$CI_REGISTRY"
|
- echo "$CI_REGISTRY_PASSWORD" | buildah login -u "$CI_REGISTRY_USER" --password-stdin "$CI_REGISTRY"
|
||||||
- buildah push ${FQ_IMAGE_NAME}:cli
|
- buildah push ${FQ_IMAGE_NAME}:cli
|
||||||
|
rules:
|
||||||
|
- changes:
|
||||||
|
- tools/coder-cli/**
|
||||||
|
- if: '$CI_PIPELINE_SOURCE == "schedule"'
|
||||||
Reference in new issue
Block a user