tRun test and deploy on different docker images - andersdamsgaard.com - my photography webpage
(HTM) git clone git://src.adamsgaard.dk/andersdamsgaard.com
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit a5910db0f207179bb7e61db96ed2e14b5c80954c
(DIR) parent 5c234d5e8822753e565b2fd94d279d1cb0ee3f20
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 2 Nov 2018 13:05:54 +0100
Run test and deploy on different docker images
Diffstat:
M .gitlab-ci.yml | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
t@@ -1,18 +1,17 @@
-# All available Hugo versions are listed here: https://gitlab.com/pages/hugo/container_registry
-image: registry.gitlab.com/pages/hugo:latest
-
variables:
GIT_SUBMODULE_STRATEGY: recursive
test:
+ image: registry.gitlab.com/pages/hugo:latest
script:
- hugo
except:
- master
deploy:
+ image: alpine # https://pkgs.alpinelinux.org/packages?name=&branch=edge
before_script:
- - apt install lftp
+ - apk --no-cache add make hugo lftp
script:
- make deploy
artifacts: