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
|
- 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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue