Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docker qemu bug #1637

Merged
merged 3 commits into from
Feb 14, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 13 additions & 9 deletions .github/workflows/build-base-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ jobs:
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: qemu workaround
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes -c yes
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
Expand All @@ -90,7 +91,7 @@ jobs:
with:
context: .
file: ci/base-images/sle/Dockerfile.dotnet6
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta-bci-dotnet.outputs.tags }}
labels: ${{ steps.meta-bci-dotnet.outputs.labels }}
Expand All @@ -108,7 +109,8 @@ jobs:
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: qemu workaround
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes -c yes
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
Expand All @@ -130,7 +132,7 @@ jobs:
with:
context: .
file: ci/base-images/cdxgen/Dockerfile.dotnet6
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/cyclonedx/cdxgen-dotnet:v11,ghcr.io/cyclonedx/cdxgen-dotnet6:v11
labels: ${{ steps.meta-cdxgen-dotnet.outputs.labels }}
Expand All @@ -141,7 +143,7 @@ jobs:
with:
context: .
file: ci/base-images/cdxgen/Dockerfile.dotnet6
platforms: linux/amd64
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta-cdxgen-dotnet.outputs.tags }}
labels: ${{ steps.meta-cdxgen-dotnet.outputs.labels }}
Expand Down Expand Up @@ -248,7 +250,8 @@ jobs:
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: qemu workaround
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes -c yes
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
Expand Down Expand Up @@ -286,7 +289,8 @@ jobs:
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: qemu workaround
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes -c yes
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
Expand Down Expand Up @@ -512,12 +516,12 @@ jobs:
packages: write
steps:
- uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: qemu workaround
run: docker run --rm --privileged multiarch/qemu-user-static --reset -p yes -c yes
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
Expand Down
Loading