build python images
This commit is contained in:
1 parent
a682c4bf03
commit
211982b761
2 files changed
+14
-1
No files matched your search
+2
-1
@@ -17,4 +17,5 @@ stages:
|
||||
|
||||
include:
|
||||
- "java/.gitlab-ci.yml"
|
||||
- "php/.gitlab-ci.yml"
|
||||
- "php/.gitlab-ci.yml"
|
||||
- "python/.gitlab-ci.yml"
|
||||
@@ -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"
|
||||
Reference in new issue
Block a user