From 3c092653a622cadec28d73d89b34f8ba1ea8b4a8 Mon Sep 17 00:00:00 2001 From: Morgan <47953421+MorganLmd@users.noreply.github.com> Date: Thu, 5 Nov 2020 23:36:46 +0100 Subject: [PATCH] fix useless workflow --- .circleci/config.yml | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4a8a318..97dda3d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -115,7 +115,7 @@ jobs: name: publish docker image to dockerhub command: | echo "$DOCKERHUB_PASSWORD" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin - IMAGE_TAG="0.0.${CIRCLE_TAG/v/''}" + IMAGE_TAG="0.0.${CIRCLE_BUILD_NUM}" docker tag $IMAGE_NAME_TMP $IMAGE_NAME:latest docker tag $IMAGE_NAME:latest $IMAGE_NAME:$IMAGE_TAG docker push $IMAGE_NAME:latest @@ -137,7 +137,7 @@ jobs: workflows: version: 2 - test-workflow: + build-master: jobs: - build - lint: @@ -174,20 +174,4 @@ workflows: requires: - build - lint - - unit-tests - build-tags: - jobs: - - build: - filters: - tags: - only: /^v.*/ - branches: - ignore: /.*/ - - publish-tag: - requires: - - build - filters: - tags: - only: /^v.*/ - branches: - ignore: /.*/ \ No newline at end of file + - unit-tests \ No newline at end of file