feat(build): upgrade docker to 20 with TLS
This commit is contained in:
parent
549cd28c75
commit
57fb83c31a
|
@ -6,7 +6,7 @@ stages:
|
|||
- status-post
|
||||
|
||||
.build-base:
|
||||
image: apextoaster/base:1.5
|
||||
image: docker.artifacts.apextoaster.com/apextoaster/base:1.5
|
||||
tags:
|
||||
- platform:k8s
|
||||
- runner:shared
|
||||
|
@ -15,7 +15,7 @@ stages:
|
|||
extends:
|
||||
- .build-base
|
||||
stage: build
|
||||
image: apextoaster/golang:1.14-master
|
||||
image: docker.artifacts.apextoaster.com/apextoaster/golang:1.14-master
|
||||
variables:
|
||||
GOPATH: /build
|
||||
BUILD_OPTS: -a -v -x
|
||||
|
@ -75,12 +75,15 @@ build-go-windows-x86:
|
|||
.build-docker:
|
||||
extends:
|
||||
- .build-base
|
||||
image: apextoaster/docker:18.09
|
||||
image: docker.artifacts.apextoaster.com/apextoaster/docker:20.10
|
||||
services:
|
||||
- apextoaster/docker-dind:18.09
|
||||
- docker.artifacts.apextoaster.com/apextoaster/docker-dind:20.10
|
||||
variables: &vars-docker
|
||||
DOCKER_CERT_PATH: "/shared/docker/client"
|
||||
DOCKER_DRIVER: overlay2
|
||||
DOCKER_HOST: tcp://localhost:2375
|
||||
DOCKER_HOST: tcp://localhost:2376
|
||||
DOCKER_TLS_CERTDIR: "/shared/docker"
|
||||
DOCKER_TLS_VERIFY: 1
|
||||
|
||||
before_script:
|
||||
- mkdir ${HOME}/.docker
|
||||
|
|
Loading…
Reference in New Issue