aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2018-09-17 22:57:32 +0200
committerGravatar Johannes Christ <[email protected]>2018-09-17 23:51:12 +0200
commit7a4ef091d78401c1533de53a3ef11627eceb481a (patch)
tree7696dfa4df104500a68269da324d6f386c76af53
parentBuild docker image and pass it around. (diff)
Use output redirection.
-rw-r--r--.gitlab-ci.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 8ec327e3..fdb41c13 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -25,7 +25,7 @@ build-alpine-3.7:
image: docker:dind
script:
- docker build --build-arg EXTRAS=test,lint -t django:alpine-3.7 -f docker/app/alpine/3.7/Dockerfile .
- - docker save django:alpine-3.7 django_alpine_py37.tar.gz
+ - docker save django:alpine-3.7 > django_alpine_py37.tar.gz
artifacts:
paths:
- django_alpine_py37.tar.gz
@@ -35,7 +35,7 @@ build-alpine-3.6:
image: docker:dind
script:
- docker build --build-arg EXTRAS=test -t django:alpine-3.6 -f docker/app/alpine/3.6/Dockerfile .
- - docker save django:alpine-3.6 django_alpine_py36.tar.gz
+ - docker save django:alpine-3.6 > django_alpine_py36.tar.gz
artifacts:
paths:
- django_alpine_py36.tar.gz
@@ -45,7 +45,7 @@ build-stretch-3.7:
image: docker:dind
script:
- docker build --build-arg EXTRAS=test -t django:stretch-3.7 -f docker/app/stretch/3.7/Dockerfile .
- - docker save django:stretch-3.7 django_stretch_py37.tar.gz
+ - docker save django:stretch-3.7 > django_stretch_py37.tar.gz
artifacts:
paths:
- django_stretch_py37.tar.gz
@@ -55,7 +55,7 @@ build-stretch-3.6:
image: docker:dind
script:
- docker build --build-arg EXTRAS=test -t django:stretch-3.6 -f docker/app/stretch/3.6/Dockerfile .
- - docker save django:stretch-3.6 django_stretch_py36.tar.gz
+ - docker save django:stretch-3.6 > django_stretch_py36.tar.gz
artifacts:
paths:
- django_stretch_py36.tar.gz