ci: Build docker image

This commit is contained in:
Glenn Y. Rolland 2022-07-09 19:33:29 +02:00
parent e6d494ab0c
commit 6186daad55

View file

@ -11,7 +11,7 @@ stages:
- test - test
- publish - publish
build_job: build:executable:
stage: build stage: build
image: crystallang/crystal:1.5 image: crystallang/crystal:1.5
script: script:
@ -23,6 +23,22 @@ build_job:
paths: paths:
- lib - 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: sast:
stage: test stage: test