From 6186daad5537a9136aa52cbdb4467686fc351783 Mon Sep 17 00:00:00 2001 From: Glenn Date: Sat, 9 Jul 2022 19:33:29 +0200 Subject: [PATCH] ci: Build docker image --- .gitlab-ci.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a01d1e3..71368b7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,7 +11,7 @@ stages: - test - publish -build_job: +build:executable: stage: build image: crystallang/crystal:1.5 script: @@ -23,6 +23,22 @@ build_job: paths: - lib +build:dockerimage: + stage: build + image: docker:20.10.16 + services: + - docker:20.10.16-dind + need: + - build:executable + script: + - make build + artifacts: + paths: + - bin + cache: + paths: + - lib + sast: stage: test