From b98c50246f58ee6334fe98a1ac1e8a03ac3a14a5 Mon Sep 17 00:00:00 2001 From: Glenn Date: Sat, 9 Jul 2022 20:15:04 +0200 Subject: [PATCH] ci: Handle image management between jobs --- .gitlab-ci.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bd5e19e..ab1d83d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -36,12 +36,10 @@ build:docker-image: - build:executable script: - make docker-build + - make docker-save > _artifacts/docker-image.tar artifacts: paths: - - bin - cache: - paths: - - lib + - _artifacts sast: stage: test @@ -55,6 +53,7 @@ publish:docker-image: - docker:20.10.16-dind script: - apk install make + - make docker-load < _artifacts/docker-image.tar - make docker-push artifacts: paths: