From 0c2b1d7bb42c011464e76b87b29c9e8499bc7e84 Mon Sep 17 00:00:00 2001 From: Direside Date: Fri, 20 Mar 2020 14:57:43 -0700 Subject: [PATCH] Removed debug code. Removed VERSION from Makefile as it's not used and could cause confusion. --- .circleci/config.yml | 8 ++++---- Makefile | 4 +--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4cc94bdb8..cdaa43264 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -157,8 +157,8 @@ workflows: - build_and_push: requires: - unit_test - # filters: - # branches: - # only: # only branches matching the below regex filters will run - # - /^master$/ + filters: + branches: + only: # only branches matching the below regex filters will run + - /^master$/ diff --git a/Makefile b/Makefile index 5846f1ea6..5330a75e4 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,3 @@ -VERSION:= 0.0.1 - check: go test ./... @@ -26,5 +24,5 @@ ci-docker-build: docker build . -t commitdev/commit0:${VERSION_TAG} -t commitdev/commit0:latest ci-docker-push: - echo "${DOCKERHUB_PASS}" | docker login -u "${DOCKERHUB_USER}" --password-stdin + echo "${DOCKERHUB_PASS}" | docker login -u commitdev --password-stdin docker push commitdev/commit0:${VERSION_TAG}