From dad83e59570637ee11a6cf7821f303d6ced9b52e Mon Sep 17 00:00:00 2001 From: Anderson T Date: Fri, 15 Nov 2024 06:04:19 -0800 Subject: [PATCH] cache github actions docker image build --- .github/workflows/main.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6f0df23..e7309a5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,11 +27,10 @@ jobs: - name: Build and push uses: docker/build-push-action@v3 with: - build-args: | - APIURL=${{ secrets.APIURL }} - APIKEY=${{ secrets.APIKEY }} context: frontend file: frontend/Dockerfile + cache-from: type=gha + cache-to: type=gha,mode=max platforms: linux/arm64 push: true tags: ghcr.io/langaracpsc/langaracpsc-next:latest