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

Tag new images also with latest

parent 5943c91c
No related branches found
No related tags found
1 merge request!25Merging develop into main
...@@ -27,5 +27,7 @@ php: ...@@ -27,5 +27,7 @@ php:
script: 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}:${VERSION} . - 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} - docker push ${CI_REGISTRY_IMAGE}/php-${PHP}:${VERSION}
- docker tag ${CI_REGISTRY_IMAGE}/php-${PHP}:${VERSION} ${CI_REGISTRY_IMAGE}/php-${PHP}:latest
- docker push ${CI_REGISTRY_IMAGE}/php-${PHP}:latest
only: only:
- tags - tags
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment