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
|
- build:executable
|
||||||
script:
|
script:
|
||||||
- make docker-build
|
- make docker-build
|
||||||
|
- make docker-save > _artifacts/docker-image.tar
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- bin
|
- _artifacts
|
||||||
cache:
|
|
||||||
paths:
|
|
||||||
- lib
|
|
||||||
|
|
||||||
sast:
|
sast:
|
||||||
stage: test
|
stage: test
|
||||||
|
@ -55,6 +53,7 @@ publish:docker-image:
|
||||||
- docker:20.10.16-dind
|
- docker:20.10.16-dind
|
||||||
script:
|
script:
|
||||||
- apk install make
|
- apk install make
|
||||||
|
- make docker-load < _artifacts/docker-image.tar
|
||||||
- make docker-push
|
- make docker-push
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
|
|
Loading…
Reference in a new issue