add java and php images
This commit is contained in:
1 parent
711d72a2ab
commit
b14ec7a61b
9 files changed
+136
-4
No files matched your search
@@ -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"
|
||||
Reference in new issue
Block a user