Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Commit

Permalink
make docker image available across workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Dieterbe committed Jan 4, 2018
1 parent 0aeda5f commit b0b6833
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@ jobs:
- run: scripts/build_tools.sh
- setup_remote_docker
- run: scripts/build_docker.sh
- run: mkdir build_docker && docker save -o build_docker/metrictank.tar grafana/metrictank
- persist_to_workspace:
root: .
paths: build
paths:
- build
- build_docker

test:
working_directory: /go/src/github.com/grafana/metrictank
Expand Down Expand Up @@ -45,6 +48,7 @@ jobs:
- attach_workspace:
at: .
- run: scripts/qa/docs.sh
- run: docker import build_docker/metrictank.tar
- run: scripts/qa/end2end.sh

deploy:
Expand All @@ -65,6 +69,7 @@ jobs:
if [ "${CIRCLE_BRANCH}" == "master" ]; then
scripts/push/packagecloud.sh
docker login -u $DOCKER_USER -p $DOCKER_PASS
docker import build_docker/metrictank.tar
scripts/push/docker.sh
fi
Expand Down

0 comments on commit b0b6833

Please sign in to comment.