Skip to content
This repository was archived by the owner on Nov 10, 2023. It is now read-only.

Commit ca544f3

Browse files
committed
Update .circleci/config.yml
1 parent 6c66797 commit ca544f3

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.circleci/config.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ jobs:
33
build:
44
docker:
55
- image: docker:18.06.1-ce-git
6-
working_directory: ~/whereabouts
6+
working_directory: /workdir
77
steps:
88
- checkout
99
- setup_remote_docker:
@@ -12,22 +12,22 @@ jobs:
1212
- run: mkdir -p workspace
1313
- run: docker save ${DOCKER_HUB_IMAGE} | gzip > image.tar.gz
1414
- persist_to_workspace:
15-
root: workspace
15+
root: /workdir/workspace
1616
paths:
1717
- image.tar.gz
1818
deploy:
1919
docker:
2020
- image: docker:18.06.1-ce
21-
working_directory: ~/whereabouts
21+
working_directory: /workdir
2222
steps:
23-
- attach_workspace:
24-
at: workspace
2523
- setup_remote_docker:
2624
version: 18.05.0-ce
25+
- attach_workspace:
26+
at: /workdir/workspace
2727
- deploy:
2828
name: Deploy the image to Docker Hub
2929
command: |
30-
zcat workspace/image.tar.gz | docker load
30+
zcat /workdir/workspace/image.tar.gz | docker load
3131
docker tag ${DOCKER_HUB_IMAGE} ${DOCKER_HUB_IMAGE}:${CIRCLE_TAG}
3232
docker login -u ${DOCKER_HUB_USER} -p ${DOCKER_HUB_PASS}
3333
docker push ${DOCKER_HUB_IMAGE}:${CIRCLE_TAG}

0 commit comments

Comments
 (0)