From ca6becfeec7ca94736d5e8b46e78b5564dd44fe8 Mon Sep 17 00:00:00 2001 From: a Date: Mon, 28 Mar 2022 18:08:16 +0000 Subject: [PATCH] df changes --- .gitlab-ci.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 58112db6c..65d88908e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,7 +3,11 @@ build-binary-latest: image: name: golang:1.18.0-alpine3.15 script: - - go build -o ./weed/weed ./weed + - go build -o ./weed/weed ./weed + - cp ./weed/weed docker/weed + artifacts: + paths: + - ./weed/weed build-container-latest: stage: build @@ -16,6 +20,6 @@ build-container-latest: - >- /kaniko/executor --context "${CI_PROJECT_DIR}/docker" - --dockerfile "${CI_PROJECT_DIR}/docker/Dockerfile.go_build" + --dockerfile "${CI_PROJECT_DIR}/docker/Dockerfile.local" --destination "${CI_REGISTRY_IMAGE}:latest" --destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHORT_SHA}" \ No newline at end of file