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