Skip to content

Commit 534afa3

Browse files
author
Dennis Labordus
committed
Update build action.
Signed-off-by: Dennis Labordus <[email protected]>
1 parent d90f317 commit 534afa3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/build-project.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,17 @@ jobs:
1919
- name: Checkout
2020
uses: actions/checkout@v2
2121

22+
- name: Set up Docker Buildx
23+
id: buildx
24+
if: ${{ github.event_name == 'pull_request' }}
25+
uses: docker/setup-buildx-action@v1
26+
- name: Cache Docker Register
27+
if: ${{ github.event_name == 'pull_request' }}
28+
uses: actions/cache@v2
29+
with:
30+
path: /tmp/.buildx-cache
31+
key: ${{ runner.os }}-buildx-${{ hashFiles('**/Dockerfile') }}
32+
2233
- name: Use Node.js 14.x
2334
uses: actions/setup-node@v1
2435
with:

0 commit comments

Comments
 (0)