From 0f1987d2db4f6fccdec912784031c966b066765d Mon Sep 17 00:00:00 2001 From: Nick Cabatoff Date: Sat, 13 Apr 2019 17:26:58 -0400 Subject: [PATCH] Fix a couple of circleci issues. --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6b0ecfc..9467f43 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -26,6 +26,7 @@ jobs: release: docker: - image: circleci/golang:1.10 + working_directory: /go/src/github.com/ncabatoff/process-exporter steps: - checkout - run: sudo apt-get -qq update @@ -43,7 +44,7 @@ jobs: - setup_remote_docker - run: | IMAGE_TAG=${CIRCLE_TAG/v/''} - docker build -t $IMAGE_NAME:IMAGE_TAG . + docker build -t $IMAGE_NAME:$IMAGE_TAG . echo "$DOCKERHUB_PASSWORD"| docker login -u $DOCKERHUB_USERNAME --password-stdin docker push $IMAGE_NAME:$IMAGE_TAG