build java on base update

This commit is contained in:
anthorob committed 2025-07-12 11:59:57 -04:00
1 parent 8b5c12c167
commit 75d3ea748c
2 files changed
+2 -2

No files matched your search

+2 -1
View File
@@ -2,12 +2,13 @@
stage: build
script:
- buildah info
- buildah bud --storage-driver=${STORAGE_DRIVER} -t ${FQ_IMAGE_NAME}:java${JAVA_VERSION} -f java/Dockerfile.java${JAVA_VERSION} .
- buildah bud --storage-driver=${STORAGE_DRIVER} --pull -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/**
- Dockerfile.base
- if: '$CI_PIPELINE_SOURCE == "schedule"'
build_java8:
-1
View File
@@ -1,6 +1,5 @@
.default_build_template: &build_template
stage: build
needs: ["build_base"]
script:
- buildah info
- buildah bud --storage-driver=${STORAGE_DRIVER} --pull -t ${FQ_IMAGE_NAME}:php${PHP_VERSION} -f php/Dockerfile.php${PHP_VERSION} .