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:
|
||||
- lib
|
||||
|
||||
build:dockerimage:
|
||||
build:docker-image:
|
||||
stage: build
|
||||
image: docker:20.10.16
|
||||
services:
|
||||
|
@ -31,7 +31,7 @@ build:dockerimage:
|
|||
needs:
|
||||
- build:executable
|
||||
script:
|
||||
- make build
|
||||
- make docker-build
|
||||
artifacts:
|
||||
paths:
|
||||
- bin
|
||||
|
@ -42,10 +42,12 @@ build:dockerimage:
|
|||
sast:
|
||||
stage: test
|
||||
|
||||
publish_job:
|
||||
publish:docker-image:
|
||||
stage: publish
|
||||
needs:
|
||||
- build:docker-image
|
||||
script:
|
||||
- echo "Not implemented yet"
|
||||
- make docker-push
|
||||
artifacts:
|
||||
paths:
|
||||
- bin
|
||||
|
|
Loading…
Reference in a new issue