We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9853034 commit 2b412ecCopy full SHA for 2b412ec
.github/workflows/docker-publish.yml
@@ -12,7 +12,17 @@ jobs:
12
name: Checkout
13
uses: actions/checkout@v3
14
-
15
- name: Build Frontend
+ name: Cache frontend artifacts
16
+ id: cache-frontend
17
+ uses: actions/cache@v3
18
+ with:
19
+ path: frontend/dist
20
+ key: ${{ runner.os }}-frontend-${{ hashFiles('frontend/yarn.lock') }}
21
+ restore-keys: |
22
+ ${{ runner.os }}-frontend-
23
+ -
24
+ name: Build Frontend if not cached
25
+ if: steps.cache-frontend.outputs.cache-hit != 'true'
26
run: |
27
chmod +x scripts/ci/frontend-build
28
./scripts/ci/frontend-build
@@ -37,3 +47,5 @@ jobs:
37
47
platforms: linux/amd64,linux/arm64,linux/arm/v7
38
48
push: true
39
49
tags: zuptalo/nginx-proxy-manager:develop
50
+ cache-from: type=gha
51
+ cache-to: type=gha,mode=max
0 commit comments