Skip to content

Commit

Permalink
Sync CircleCI config from statsd exporter
Browse files Browse the repository at this point in the history
fixes missing `docker login`

Signed-off-by: Matthias Rampke <[email protected]>
  • Loading branch information
Matthias Rampke committed May 31, 2019
1 parent eab3160 commit 66c1c5e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:

build:
machine: true
working_directory: /home/circleci/.go_workspace/src/github.com/prometheus/graphite_exporter

steps:
- checkout
Expand Down Expand Up @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit 66c1c5e

Please sign in to comment.