add java and php images

This commit is contained in:
anthorob committed 2025-07-08 10:18:15 -04:00
1 parent 711d72a2ab
commit b14ec7a61b
9 files changed
+136 -4

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
.default_build_template: &build_template
stage: build
script:
- buildah info
- buildah bud --storage-driver=${STORAGE_DRIVER} -t ${FQ_IMAGE_NAME}:java${JAVA_VERSION} -f 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}
build_java8:
<<: *build_template
variables:
JAVA_VERSION: "8"
build_java17:
<<: *build_template
variables:
JAVA_VERSION: "17"
build_java21:
<<: *build_template
variables:
JAVA_VERSION: "21"