From 554d3f1e356585e7f87931e5a5170e08f2db188f Mon Sep 17 00:00:00 2001 From: Samir Patel <48686912+54mir@users.noreply.github.com> Date: Wed, 20 Oct 2021 14:34:24 -0500 Subject: [PATCH] same5 --- .gitlab/.gitlab-ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitlab/.gitlab-ci.yml b/.gitlab/.gitlab-ci.yml index e71c3e200..ab5a5c5bf 100644 --- a/.gitlab/.gitlab-ci.yml +++ b/.gitlab/.gitlab-ci.yml @@ -128,10 +128,16 @@ build for darwin arm64: # Build a Docker image with CI/CD and push to the GitLab registry. build container fb: - image: docker:latest + image: docker:stable stage: build services: - docker:dind + variables: + DOCKER_HOST: tcp://docker:2375/ + DOCKER_DRIVER: overlay2 + before_script: + - docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY + - docker info script: - tag=$CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA - docker build --build-arg GO_VERSION=$GOVERSION -t $tag .