Files
coder-images/tools/coder-cli/.gitlab-ci.yml
T
2025-07-12 11:22:31 -04:00

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"'