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