11 lines
419 B
YAML
11 lines
419 B
YAML
build_cli:
|
|
stage: base
|
|
script:
|
|
- buildah info
|
|
- buildah bud --storage-driver=${STORAGE_DRIVER} -t ${FQ_IMAGE_NAME}:coder-cli -f tools/coder-cli/Dockerfile .
|
|
- echo "$CI_REGISTRY_PASSWORD" | buildah login -u "$CI_REGISTRY_USER" --password-stdin "$CI_REGISTRY"
|
|
- buildah push ${FQ_IMAGE_NAME}:coder-cli
|
|
rules:
|
|
- changes:
|
|
- tools/coder-cli/**
|
|
- if: '$CI_PIPELINE_SOURCE == "schedule"' |