From 66c1c5e4eea14cf7f22080afcb9740ce4d874ffc Mon Sep 17 00:00:00 2001 From: Matthias Rampke Date: Fri, 31 May 2019 17:36:15 +0000 Subject: [PATCH] Sync CircleCI config from statsd exporter fixes missing `docker login` Signed-off-by: Matthias Rampke --- .circleci/config.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9149abf..9aa3868 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -24,7 +24,6 @@ jobs: build: machine: true - working_directory: /home/circleci/.go_workspace/src/github.com/prometheus/graphite_exporter steps: - checkout @@ -61,9 +60,6 @@ jobs: steps: - checkout - setup_remote_docker - - run: mkdir -v -p ${HOME}/bin - - run: curl -L 'https://github.com/aktau/github-release/releases/download/v0.7.2/linux-amd64-github-release.tar.bz2' | tar xvjf - --strip-components 3 -C ${HOME}/bin - - run: echo 'export PATH=${HOME}/bin:${PATH}' >> ${BASH_ENV} - attach_workspace: at: . - run: make promu @@ -76,6 +72,8 @@ jobs: - run: ln -s .build/linux-amd64/graphite_exporter graphite_exporter - run: make docker DOCKER_IMAGE_TAG=$CIRCLE_TAG - run: make docker DOCKER_IMAGE_TAG=$CIRCLE_TAG DOCKER_REPO=quay.io/prometheus + - run: docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD + - run: docker login -u $QUAY_LOGIN -p $QUAY_PASSWORD quay.io - run: make docker-publish DOCKER_IMAGE_TAG="$CIRCLE_TAG" - run: make docker-publish DOCKER_IMAGE_TAG="$CIRCLE_TAG" DOCKER_REPO=quay.io/prometheus - run: make docker-manifest DOCKER_IMAGE_TAG="$CIRCLE_TAG"