ci: Build docker image
This commit is contained in:
parent
e6d494ab0c
commit
6186daad55
1 changed files with 17 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue