Skip to content

Commit c9c0125

Browse files
committed
Add QEMU and xbuild to build (scratch)images in pr_build workflow
Signed-off-by: Marco Franssen <[email protected]>
1 parent 5bf7bcf commit c9c0125

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/pr_build.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,10 @@ jobs:
152152
key: ${{ runner.os }}-tools-${{ github.sha }}
153153
restore-keys: |
154154
${{ runner.os }}-tools-
155+
- name: Set up QEMU
156+
uses: docker/setup-qemu-action@v2
157+
- name: Set up Docker Buildx
158+
uses: docker/setup-buildx-action@v2
155159
- name: Build images
156160
run: make images
157161
- name: Export images
@@ -208,6 +212,10 @@ jobs:
208212
key: ${{ runner.os }}-tools-${{ github.sha }}
209213
restore-keys: |
210214
${{ runner.os }}-tools-
215+
- name: Set up QEMU
216+
uses: docker/setup-qemu-action@v2
217+
- name: Set up Docker Buildx
218+
uses: docker/setup-buildx-action@v2
211219
- name: Build scratch images
212220
run: make scratch-images
213221
- name: Export scratch images

0 commit comments

Comments
 (0)