mirror of
https://github.com/offen/website.git
synced 2024-11-22 09:00:28 +01:00
fix bad docker layer cache locations
This commit is contained in:
parent
5a1fb6698e
commit
ecedd47c4d
@ -169,12 +169,13 @@ jobs:
|
|||||||
name: Load Docker image layer cache
|
name: Load Docker image layer cache
|
||||||
command: |
|
command: |
|
||||||
set +o pipefail
|
set +o pipefail
|
||||||
docker load -i /caches/app.tar | true
|
docker load -i /caches/proxy.tar | true
|
||||||
|
docker load -i /caches/server.tar | true
|
||||||
- run:
|
- run:
|
||||||
name: Build application Docker image
|
name: Build application Docker image
|
||||||
command: |
|
command: |
|
||||||
docker build -t offen/server:$DOCKER_IMAGE_TAG -f build/server/Dockerfile .
|
docker build --cache-from=offen/server -t offen/server:$DOCKER_IMAGE_TAG -f build/server/Dockerfile .
|
||||||
docker build --build-arg siteurl=$SITEURL -t offen/proxy:$DOCKER_IMAGE_TAG -f build/proxy/Dockerfile .
|
docker build --build-arg --cache-from=offen/proxy siteurl=$SITEURL -t offen/proxy:$DOCKER_IMAGE_TAG -f build/proxy/Dockerfile .
|
||||||
- run:
|
- run:
|
||||||
name: Save Docker image layer cache
|
name: Save Docker image layer cache
|
||||||
command: |
|
command: |
|
||||||
|
Loading…
Reference in New Issue
Block a user