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

Tag new images also with latest

parent 5943c91c
Branches
Tags
1 merge request!25Merging develop into main
......@@ -27,5 +27,7 @@ php:
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 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:
- tags
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment