add rules for building

This commit is contained in:
anthorob committed 2025-07-09 05:24:26 -04:00
1 parent 5976d452e1
commit a5f9cc96c8
5 files changed
+22 -2

No files matched your search

+4
View File
@@ -16,6 +16,10 @@ build_base:
- buildah bud --storage-driver=${STORAGE_DRIVER} -t ${FQ_IMAGE_NAME}:base -f Dockerfile.base .
- echo "$CI_REGISTRY_PASSWORD" | buildah login -u "$CI_REGISTRY_USER" --password-stdin "$CI_REGISTRY"
- buildah push ${FQ_IMAGE_NAME}:base
rules:
- changes:
- Dockerfile.base
- if: '$CI_PIPELINE_SOURCE == "schedule"'
include:
- "base/coder-cli/.gitlab-ci.yml"