Setup qemu

This commit is contained in:
TheSpad
2023-03-22 10:36:05 +00:00
parent fbecc9b370
commit 256bca1877
2 changed files with 8 additions and 2 deletions
+6
View File
@@ -13,6 +13,12 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build image
run: |
docker build --no-cache -t ${{ github.sha }} .
+2 -2
View File
@@ -53,5 +53,5 @@ FROM scratch
LABEL maintainer="thespad"
# Add files from buildstage
COPY --from=buildstage-amd64 /root-layer/ /amd64
COPY --from=buildstage-aarch64 /root-layer/ /aarch64
COPY --from=buildstage-amd64 /root-layer/ /tmp/amd64
COPY --from=buildstage-aarch64 /root-layer/ /tmp/aarch64