1
0
Fork 0

feat(build): upgrade docker to 20 with TLS

This commit is contained in:
ssube 2021-08-05 22:51:41 -05:00
parent 549cd28c75
commit 57fb83c31a
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 8 additions and 5 deletions

View File

@ -6,7 +6,7 @@ stages:
- status-post - status-post
.build-base: .build-base:
image: apextoaster/base:1.5 image: docker.artifacts.apextoaster.com/apextoaster/base:1.5
tags: tags:
- platform:k8s - platform:k8s
- runner:shared - runner:shared
@ -15,7 +15,7 @@ stages:
extends: extends:
- .build-base - .build-base
stage: build stage: build
image: apextoaster/golang:1.14-master image: docker.artifacts.apextoaster.com/apextoaster/golang:1.14-master
variables: variables:
GOPATH: /build GOPATH: /build
BUILD_OPTS: -a -v -x BUILD_OPTS: -a -v -x
@ -75,12 +75,15 @@ build-go-windows-x86:
.build-docker: .build-docker:
extends: extends:
- .build-base - .build-base
image: apextoaster/docker:18.09 image: docker.artifacts.apextoaster.com/apextoaster/docker:20.10
services: services:
- apextoaster/docker-dind:18.09 - docker.artifacts.apextoaster.com/apextoaster/docker-dind:20.10
variables: &vars-docker variables: &vars-docker
DOCKER_CERT_PATH: "/shared/docker/client"
DOCKER_DRIVER: overlay2 DOCKER_DRIVER: overlay2
DOCKER_HOST: tcp://localhost:2375 DOCKER_HOST: tcp://localhost:2376
DOCKER_TLS_CERTDIR: "/shared/docker"
DOCKER_TLS_VERIFY: 1
before_script: before_script:
- mkdir ${HOME}/.docker - mkdir ${HOME}/.docker