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