From 3aef835b4bd63479c8b90cf7e59cfada05b60732 Mon Sep 17 00:00:00 2001 From: Glenn Date: Sat, 9 Jul 2022 19:37:28 +0200 Subject: [PATCH] ci: Implement docker build & docker push --- .gitlab-ci.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2ea5132..36eb866 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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