feat: persist images through workspace
This commit is contained in:
1 parent
a5d53711ee
commit
59910749b7
1 file changed
+12
@@ -7,6 +7,11 @@ commands:
|
|||||||
- checkout
|
- checkout
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: /home/circleci/project
|
at: /home/circleci/project
|
||||||
|
- run:
|
||||||
|
name: restore docker images
|
||||||
|
command: |
|
||||||
|
docker load -i build/herokuish.tar
|
||||||
|
docker load -i build/node.tar
|
||||||
- run:
|
- run:
|
||||||
name: resolve dokku.me
|
name: resolve dokku.me
|
||||||
command: |
|
command: |
|
||||||
@@ -41,6 +46,13 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: build package
|
name: build package
|
||||||
command: ./tests/ci/setup.sh build
|
command: ./tests/ci/setup.sh build
|
||||||
|
- run:
|
||||||
|
name: save docker images
|
||||||
|
command: |
|
||||||
|
HEROKUISH_VERSION=$(grep HEROKUISH_VERSION "${ROOT_DIR}/deb.mk" | head -n1 | cut -d' ' -f3)
|
||||||
|
docker save -o build/herokuish.tar gliderlabs/herokuish:$HEROKUISH_VERSION
|
||||||
|
docker pull node:4
|
||||||
|
docker save -o build/node.tar node:4
|
||||||
- persist_to_workspace:
|
- persist_to_workspace:
|
||||||
root: /home/circleci/project
|
root: /home/circleci/project
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
Reference in new issue
Block a user