Skip to content

Commit 2333901

Browse files
committed
Cache
1 parent 2249e8b commit 2333901

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: .github/workflows/main.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,7 @@ jobs:
7777
- name: Build and push
7878
uses: docker/build-push-action@v6
7979
with:
80-
push: ${{ github.event_name != 'pull_request' }}
8180
tags: gcr.io/${{ env.PROJECT_ID }}/${{ env.IMAGE_NAME }}:${{ env.COMMIT_SHORT_SHA }}
81+
push: ${{ github.event_name != 'pull_request' }}
82+
cache-from: type=gha
83+
cache-to: type=gha,mode=max

0 commit comments

Comments
 (0)