ci: Handle image management between jobs
This commit is contained in:
parent
a53a103a1d
commit
b98c50246f
1 changed files with 3 additions and 4 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue