ci: Implement docker build & docker push
This commit is contained in:
parent
a88d51141f
commit
3aef835b4b
1 changed files with 6 additions and 4 deletions
|
@ -23,7 +23,7 @@ build:executable:
|
||||||
paths:
|
paths:
|
||||||
- lib
|
- lib
|
||||||
|
|
||||||
build:dockerimage:
|
build:docker-image:
|
||||||
stage: build
|
stage: build
|
||||||
image: docker:20.10.16
|
image: docker:20.10.16
|
||||||
services:
|
services:
|
||||||
|
@ -31,7 +31,7 @@ build:dockerimage:
|
||||||
needs:
|
needs:
|
||||||
- build:executable
|
- build:executable
|
||||||
script:
|
script:
|
||||||
- make build
|
- make docker-build
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- bin
|
- bin
|
||||||
|
@ -42,10 +42,12 @@ build:dockerimage:
|
||||||
sast:
|
sast:
|
||||||
stage: test
|
stage: test
|
||||||
|
|
||||||
publish_job:
|
publish:docker-image:
|
||||||
stage: publish
|
stage: publish
|
||||||
|
needs:
|
||||||
|
- build:docker-image
|
||||||
script:
|
script:
|
||||||
- echo "Not implemented yet"
|
- make docker-push
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- bin
|
- bin
|
||||||
|
|
Loading…
Reference in a new issue