Skip to content

armgit / Cairn

Public Imported from GitHub
0

Cairn is a general-purpose AI state-space search engine, validated first on autonomous penetration testing. Sometimes misspelled as Carin.

feat: add caching for Docker build to improve build performance

leixiaof449229fcc6a
diff --git a/.github/workflows/build-container-ghcr.yml b/.github/workflows/build-container-ghcr.yml
index 0af9e62..7d45abc 100644
--- a/.github/workflows/build-container-ghcr.yml
+++ b/.github/workflows/build-container-ghcr.yml
@@ -36,3 +36,5 @@ jobs:
platforms: linux/amd64
push: true
tags: ghcr.io/${{ github.repository_owner }}/cairn-worker-container:latest
+ cache-from: type=registry,ref=ghcr.io/${{ github.repository_owner }}/cairn-worker-container:buildcache
+ cache-to: type=registry,ref=ghcr.io/${{ github.repository_owner }}/cairn-worker-container:buildcache,mode=max