From 072f6377dc90efad359e5de4e871085bea6aba13 Mon Sep 17 00:00:00 2001 From: Louis Vallat Date: Fri, 24 Sep 2021 10:24:55 +0200 Subject: [PATCH] Moved to only deploy from master image from apache-pagespeed custom image, and only deploy on 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 80fead8..bee7177 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -42,3 +42,5 @@ deploy: - chmod 700 ~/.ssh script: - ssh -o StrictHostKeyChecking=no -p $SSH_PORT $SSH_DESTINATION "cd $PATH_TO_APPLICATION; $UPGRADE_COMMAND;" + only: + - master diff --git a/Dockerfile b/Dockerfile index 9d2cde8..0dd7fe6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM registry.gitlab.com/lovallat/php-apache-pagespeed:latest +FROM registry.gitlab.com/lovallat/php-apache-pagespeed:master EXPOSE 80