From ee63c52b7ae8349037e8d7385e8257aa4e2b47ea Mon Sep 17 00:00:00 2001 From: Tyler Date: Sat, 30 Jun 2018 23:20:36 -0400 Subject: [PATCH] Fix CI --- .gitlab-ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b893a68..1da2379 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,6 +16,7 @@ build-linux-amd64: image: golang:alpine stage: build script: + - apk --no-cache add git - go get -d - GOOS=linux go build -o godns artifacts: @@ -26,6 +27,7 @@ build-linux-arm: image: golang:alpine stage: build script: + - apk --no-cache add git - go get -d - GOARCH=arm GOOS=linux go build -o godns-arm artifacts: @@ -36,6 +38,7 @@ build-linux-arm64: image: golang stage: build script: + - apk --no-cache add git - go get -d - GOARCH=arm64 GOOS=linux go build -o godns-arm64 artifacts: @@ -46,6 +49,7 @@ build-docker-amd64: image: docker:latest stage: build-docker script: + - apk --no-cache add git - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY - docker image build -t $CI_REGISTRY_IMAGE:amd64-latest -f docker/Dockerfile . - docker push $CI_REGISTRY_IMAGE:amd64-latest