Skip to content

Commit 8c92a4e

Browse files
committed
fix: cache docker build image
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
1 parent 6819902 commit 8c92a4e

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/integration-test-k8s.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -208,13 +208,9 @@ jobs:
208208
209209
- name: Set up QEMU
210210
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3.6.0
211-
with:
212-
cache-image: false
213211

214212
- name: Set up Docker Buildx
215213
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3
216-
with:
217-
cache-binary: false
218214

219215
- name: Build the context_chat_backend cpu image
220216
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
@@ -225,6 +221,8 @@ jobs:
225221
tags: ccb-cpu:latest
226222
target: runtime-cpu
227223
load: true
224+
cache-from: type=registry,ref=nextcloud/context_chat_backend:cpu-build-cache,compression=max
225+
cache-to: type=registry,ref=nextcloud/context_chat_backend:cpu-build-cache
228226

229227
- name: Pre-load CCB ExApp image into k3s
230228
run: docker save ccb-cpu:latest | sudo k3s ctr images import -

.github/workflows/integration-test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,6 @@ jobs:
113113
repository: nextcloud/context_chat
114114
path: apps/context_chat
115115
persist-credentials: false
116-
# todo: remove later
117-
ref: feat/reverse-content-flow
118116

119117
- name: Checkout backend
120118
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

0 commit comments

Comments
 (0)