Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

use github cache

Maidul Islam07e6eb88ea68
diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml
index a0d7ae7920..d8cf080459 100644
--- a/.github/workflows/docker-image.yml
+++ b/.github/workflows/docker-image.yml
@@ -76,13 +76,6 @@ jobs:
uses: docker/setup-qemu-action@v2
- name: 🔧 Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- - name: Cache Docker layers
- uses: actions/cache@v3
- with:
- path: /tmp/.buildx-cache
- key: ${{ runner.os }}-buildx-${{ github.sha }}
- restore-keys: |
- ${{ runner.os }}-buildx-
- name: 🐋 Login to Docker Hub
uses: docker/login-action@v2
with:
@@ -95,8 +88,8 @@ jobs:
push: false
context: frontend
tags: infisical/frontend:test
- cache-from: type=local,src=/tmp/.buildx-cache
- cache-to: type=local,dest=/tmp/.buildx-cache-new,mode=max
+ cache-from: type=gha
+ cache-to: type=gha,mode=max
build-args: |
POSTHOG_API_KEY=${{ secrets.PUBLIC_POSTHOG_API_KEY }}
- # Temp fix