latest is now only built from master

Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
Louis Vallat 2021-09-24 10:29:58 +02:00
parent 072f6377dc
commit 3e2b3977c1
No known key found for this signature in database
GPG Key ID: 0C87282F76E61283
2 changed files with 3 additions and 1 deletions

View File

@ -23,6 +23,8 @@ release:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build . -t $CONTAINER_BRANCH_IMAGE - docker build . -t $CONTAINER_BRANCH_IMAGE
- docker push $CONTAINER_BRANCH_IMAGE - docker push $CONTAINER_BRANCH_IMAGE
except:
- master
release-master: release-master:
stage: release stage: release

View File

@ -1,4 +1,4 @@
FROM registry.gitlab.com/lovallat/php-apache-pagespeed:master FROM registry.gitlab.com/lovallat/php-apache-pagespeed:latest
EXPOSE 80 EXPOSE 80