From 4c2934652471a18d408890974dabd332509ca356 Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Sun, 30 Jan 2022 12:35:24 +0300 Subject: [PATCH] fix cicd --- .gitlab-ci.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 72bd7ba..978d055 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,9 +8,10 @@ build: variables: MAVEN_OPTS: "-Dmaven.repo.local=./.m2/repository" only: - - /^v.*$/ - except: - - branches + - test +# - /^v.*$/ +# except: +# - branches script: - 'mvn -U clean package' artifacts: @@ -21,9 +22,10 @@ docker-build: image: upagge/docker-buildx:latest stage: deploy only: - - /^v.*$/ - except: - - branches +# - /^v.*$/ + - test +# except: +# - branches services: - docker:dind before_script: @@ -31,4 +33,4 @@ docker-build: script: - cd gitlab-app - docker buildx create --use - - docker buildx build --push --platform linux/amd64,linux/arm64/v8,windows/amd64 -t "$CI_REGISTRY_IMAGE:latest" -t "$CI_REGISTRY_IMAGE:$CI_COMMIT_TAG" . \ No newline at end of file + - docker buildx build --push --platform linux/amd64,linux/arm64/v8,windows/amd64 -t "$CI_REGISTRY_IMAGE:latest" . \ No newline at end of file