aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorTill Faelligen <2353100+S7evinK@users.noreply.github.com>2024-12-18 12:14:02 +0100
committerTill Faelligen <2353100+S7evinK@users.noreply.github.com>2024-12-18 12:14:20 +0100
commitfecd84ce7957c4375f16e4a1eabc6c399fa2fb67 (patch)
tree71cde06ecd3fe146ee0b8cc40744f6068db8c7f0 /.github/workflows
parent5c25b6f0eaba2eebd613c741e263dd98f85b9ae3 (diff)
Add docker syntax and re-add cache-from
[skip ci]
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/docker.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index 4329ec0f..425945ed 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -137,6 +137,7 @@ jobs:
id: docker_build_demo_pinecone
uses: docker/build-push-action@v3
with:
+ cache-from: type=registry,ref=ghcr.io/${{ env.GHCR_NAMESPACE }}/dendrite:buildcache
context: .
file: ./build/docker/Dockerfile.demo-pinecone
platforms: ${{ env.PLATFORMS }}
@@ -150,6 +151,7 @@ jobs:
id: docker_build_demo_pinecone_release
uses: docker/build-push-action@v3
with:
+ cache-from: type=registry,ref=ghcr.io/${{ env.GHCR_NAMESPACE }}/dendrite:buildcache
context: .
file: ./build/docker/Dockerfile.demo-pinecone
platforms: ${{ env.PLATFORMS }}
@@ -195,6 +197,7 @@ jobs:
id: docker_build_demo_yggdrasil
uses: docker/build-push-action@v3
with:
+ cache-from: type=registry,ref=ghcr.io/${{ env.GHCR_NAMESPACE }}/dendrite:buildcache
context: .
file: ./build/docker/Dockerfile.demo-yggdrasil
platforms: ${{ env.PLATFORMS }}
@@ -208,6 +211,7 @@ jobs:
id: docker_build_demo_yggdrasil_release
uses: docker/build-push-action@v3
with:
+ cache-from: type=registry,ref=ghcr.io/${{ env.GHCR_NAMESPACE }}/dendrite:buildcache
context: .
file: ./build/docker/Dockerfile.demo-yggdrasil
platforms: ${{ env.PLATFORMS }}