Skip to content

Commit

Permalink
Removed debug code. Removed VERSION from Makefile as it's not used an…
Browse files Browse the repository at this point in the history
…d could cause confusion.
  • Loading branch information
Direside committed Mar 20, 2020
1 parent c1d4069 commit 0c2b1d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Expand Up @@ -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$/

4 changes: 1 addition & 3 deletions Makefile
@@ -1,5 +1,3 @@
VERSION:= 0.0.1

check:
go test ./...

Expand All @@ -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}

0 comments on commit 0c2b1d7

Please sign in to comment.