Pull cached versions of base and shared docker images
This commit is contained in:
parent
5f677c661c
commit
8a41fe5455
18
build.yml
18
build.yml
|
@ -5,6 +5,13 @@ steps:
|
|||
args:
|
||||
- clone
|
||||
- https://github.com/StratusNetwork/docker.git
|
||||
- id: base-pre
|
||||
name: gcr.io/cloud-builders/docker
|
||||
args:
|
||||
- pull
|
||||
- gcr.io/$PROJECT_ID/minecraft:base-$BRANCH_NAME
|
||||
wait_for:
|
||||
- git
|
||||
- id: base
|
||||
name: gcr.io/cloud-builders/docker
|
||||
args:
|
||||
|
@ -15,7 +22,7 @@ steps:
|
|||
- --build-arg=BRANCH_PLUGINS=$BRANCH_NAME
|
||||
- docker/minecraft
|
||||
wait_for:
|
||||
- git
|
||||
- base-pre
|
||||
- id: base-post
|
||||
name: gcr.io/cloud-builders/docker
|
||||
args:
|
||||
|
@ -24,6 +31,13 @@ steps:
|
|||
- gcr.io/$PROJECT_ID/minecraft:base-$BRANCH_NAME
|
||||
wait_for:
|
||||
- base
|
||||
- id: shared-pre
|
||||
name: gcr.io/cloud-builders/docker
|
||||
args:
|
||||
- pull
|
||||
- gcr.io/$PROJECT_ID/minecraft:shared-$BRANCH_NAME
|
||||
wait_for:
|
||||
- base
|
||||
- id: shared
|
||||
name: gcr.io/cloud-builders/docker
|
||||
args:
|
||||
|
@ -34,7 +48,7 @@ steps:
|
|||
- --build-arg=BRANCH_PLUGINS=$BRANCH_NAME
|
||||
- docker/minecraft/shared
|
||||
wait_for:
|
||||
- base
|
||||
- shared-pre
|
||||
- id: shared-post
|
||||
name: gcr.io/cloud-builders/docker
|
||||
args:
|
||||
|
|
Loading…
Reference in New Issue