From 3e2b3977c1f0286153c23b131d055c88dfc356da Mon Sep 17 00:00:00 2001 From: Louis Vallat Date: Fri, 24 Sep 2021 10:29:58 +0200 Subject: [PATCH] latest is now only built from master Signed-off-by: Louis Vallat --- .gitlab-ci.yml | 2 ++ Dockerfile | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bee7177..ea1a59f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,6 +23,8 @@ release: - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker build . -t $CONTAINER_BRANCH_IMAGE - docker push $CONTAINER_BRANCH_IMAGE + except: + - master release-master: stage: release diff --git a/Dockerfile b/Dockerfile index 0dd7fe6..9d2cde8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM registry.gitlab.com/lovallat/php-apache-pagespeed:master +FROM registry.gitlab.com/lovallat/php-apache-pagespeed:latest EXPOSE 80