ci: Handle image management between jobs

This commit is contained in:
Glenn Y. Rolland 2022-07-09 20:15:04 +02:00
parent a53a103a1d
commit b98c50246f

View file

@ -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: