From 002a320b4c98ec1af63d063af40c3a9885780601 Mon Sep 17 00:00:00 2001 From: Matej Sima Date: Mon, 27 May 2019 14:37:02 +0200 Subject: [PATCH] Change artifact name for built docker image --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bf5a728b4..84fbf772c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -82,7 +82,7 @@ build-current-docker-image: <<: *docker script: - docker build -t $CI_REGISTRY_IMAGE:latest -f ./docker/Dockerfile . - - docker save $CI_REGISTRY_IMAGE:latest > $CI_REGISTRY_IMAGE:latest + - docker save $CI_REGISTRY_IMAGE:latest > image artifacts: paths: - $CI_REGISTRY_IMAGE:latest @@ -97,7 +97,7 @@ build-and-publish-latest-docker-image: before_script: - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD script: - - docker load -i $CI_REGISTRY_IMAGE:latest + - docker load -i image - docker push $CI_REGISTRY_IMAGE:latest only: - master