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