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
@@ -5,6 +5,10 @@
- buildah bud --storage-driver=${STORAGE_DRIVER} -t ${FQ_IMAGE_NAME}:java${JAVA_VERSION} -f java/Dockerfile.java${JAVA_VERSION} .
- echo "$CI_REGISTRY_PASSWORD" | buildah login -u "$CI_REGISTRY_USER" --password-stdin "$CI_REGISTRY"
- buildah push ${FQ_IMAGE_NAME}:java${JAVA_VERSION}
rules:
- changes:
- java/**
- if: '$CI_PIPELINE_SOURCE == "schedule"'
build_java8:
<<: *build_template