1
0
Fork 0

add base job

This commit is contained in:
ssube 2020-04-05 23:07:01 -05:00
parent 09df003760
commit c7256db345
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 9 additions and 6 deletions

View File

@ -4,13 +4,17 @@ stages:
- image
- status-post
build-go:
stage: build
image: apextoaster/golang:1.14
.build-base:
image: apextoaster/base:1.3
tags:
- platform:k8s
- runner:shared
build-go:
extends:
- .build-base
stage: build
image: apextoaster/golang:1.14
script:
- time go build
- time go test
@ -28,13 +32,12 @@ build-go:
- vendor
build-image:
extends:
- .build-base
stage: image
image: apextoaster/docker:18.09
services:
- apextoaster/docker-dind:18.09
tags:
- platform:k8s
- runner:k8s
dependencies:
- build-go
allow_failure: false