mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-21 07:10:33 +00:00
chore: attach docker archive between jobs.
This commit is contained in:
@@ -35,13 +35,22 @@ jobs:
|
|||||||
key: v1-{{ .Branch }}-{{ epoch }}
|
key: v1-{{ .Branch }}-{{ epoch }}
|
||||||
paths:
|
paths:
|
||||||
- /caches/app.tar
|
- /caches/app.tar
|
||||||
|
- persist_to_workspace:
|
||||||
|
root: .
|
||||||
|
paths:
|
||||||
|
- /caches/app.tar
|
||||||
deploy:
|
deploy:
|
||||||
working_directory: ~/app
|
working_directory: ~/app
|
||||||
docker:
|
docker:
|
||||||
- image: docker:17.05.0-ce-git
|
- image: docker:17.05.0-ce-git
|
||||||
steps:
|
steps:
|
||||||
|
- attach_workspace:
|
||||||
|
at: /tmp/workspace
|
||||||
- setup_remote_docker:
|
- setup_remote_docker:
|
||||||
version: 19.03.13
|
version: 19.03.13
|
||||||
|
- run:
|
||||||
|
name: Load archived Docker image
|
||||||
|
command: docker load -i /tmp/workspace/app.tar
|
||||||
- run:
|
- run:
|
||||||
name: Publish Docker Image to Docker Hub
|
name: Publish Docker Image to Docker Hub
|
||||||
command: |
|
command: |
|
||||||
|
|||||||
Reference in New Issue
Block a user