ci: Implement docker build & docker push

This commit is contained in:
Glenn Y. Rolland 2022-07-09 19:37:28 +02:00
parent a88d51141f
commit 3aef835b4b

View file

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