From 9f0957b4d09feffd4c587b0da4257b83e16acc52 Mon Sep 17 00:00:00 2001 From: a Date: Mon, 28 Mar 2022 17:42:03 +0000 Subject: [PATCH] Remove restrictions --- .gitlab-ci.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 29f8fd342..608ab54fa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,8 +4,6 @@ build-binary-latest: name: golang:1.18.0-alpine3.15 script: - go build -o ./weed/weed ./weed - rules: - - if: $CI_COMMIT_TAG build-container-latest: stage: build @@ -19,6 +17,4 @@ build-container-latest: /kaniko/executor --context "${CI_PROJECT_DIR}/docker" --dockerfile "${CI_PROJECT_DIR}/docker/Dockerfile.go_build" - --destination "${CI_REGISTRY_IMAGE}:${CI_COMMIT_TAG}" - rules: - - if: $CI_COMMIT_TAG \ No newline at end of file + --destination "${CI_REGISTRY_IMAGE}:latest" \ No newline at end of file