Skip to content
Snippets Groups Projects
Commit d3aec0f7 authored by jurgenhaas's avatar jurgenhaas
Browse files

l3d#115 Properly tag images

parent e527a912
No related branches found
No related tags found
1 merge request!13Merging develop into main
......@@ -8,10 +8,6 @@ php:
stage: build
parallel:
matrix:
#- ALPINE: 3.5
# PHP: 7.0
#- ALPINE: 3.7
# PHP: 7.1
- ALPINE: '3.8'
PHP: '7.2'
- ALPINE: '3.11'
......@@ -23,7 +19,7 @@ php:
- ALPINE: '3.15'
PHP: '8.1'
script:
- docker build --pull --build-arg ALPINE_VERSION=${ALPINE} --build-arg PHP_MAJOR_VERSION=${PHP} --build-arg VERSION=${VERSION} -t $CI_REGISTRY_IMAGE:php-${PHP} .
- docker push $CI_REGISTRY_IMAGE:php-${PHP}
- docker build --pull --build-arg ALPINE_VERSION=${ALPINE} --build-arg PHP_MAJOR_VERSION=${PHP} --build-arg VERSION=${VERSION} -t ${CI_REGISTRY_IMAGE}/php-${PHP}:${VERSION} .
- docker push ${CI_REGISTRY_IMAGE}/php-${PHP}:$[VERSION}
only:
- main
- tags
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment