build python images

This commit is contained in:
anthorob committed 2025-12-03 12:06:11 -05:00
1 parent a682c4bf03
commit 211982b761
2 files changed
+14 -1

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
.default_build_template: &build_template
stage: build
script:
- buildah info
- buildah bud --storage-driver=${STORAGE_DRIVER} --pull -t ${FQ_IMAGE_NAME}:php${PYTHON_VERSION} -f php/Dockerfile.php${PYTHON_VERSION} .
- echo "$CI_REGISTRY_PASSWORD" | buildah login -u "$CI_REGISTRY_USER" --password-stdin "$CI_REGISTRY"
- buildah push ${FQ_IMAGE_NAME}:python${PYTHON_VERSION}
build_python3:
<<: *build_template
variables:
PYTHON_VERSION: "3"