Skip to content

Commit

Permalink
fix(ci): QEMU issue
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-mulier-p committed Feb 18, 2025
1 parent a53395a commit ce15ca1
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ jobs:
if [[ "${{ inputs.release-tag }}" == "" ]]; then
TAG=${GITHUB_REF#refs/*/}
echo "tag=${TAG}" >> $GITHUB_OUTPUT
else
else
TAG="${{ inputs.release-tag }}"
echo "tag=${TAG}" >> $GITHUB_OUTPUT
fi
fi
if [[ "${{ env.PLUGIN_VERSION }}" == *"-SNAPSHOT" ]]; then
echo "plugins=--repositories=https://s01.oss.sonatype.org/content/repositories/snapshots ${{ matrix.image.plugins }}" >> $GITHUB_OUTPUT;
else
Expand All @@ -89,6 +89,11 @@ jobs:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Docker - Fix Qemu
shell: bash
run: |
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes -c yes
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/workflow-build-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,11 @@ jobs:
- name: Docker - Setup QEMU
uses: docker/setup-qemu-action@v3

- name: Docker - Fix Qemu
shell: bash
run: |
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes -c yes
- name: Docker - Setup Buildx
uses: docker/setup-buildx-action@v3

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/workflow-publish-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ jobs:
- name: Docker - Setup QEMU
uses: docker/setup-qemu-action@v3

- name: Docker - Fix Qemu
shell: bash
run: |
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes -c yes
- name: Docker - Setup Docker Buildx
uses: docker/setup-buildx-action@v3

Expand Down Expand Up @@ -87,11 +92,6 @@ jobs:
run: |
cp build/executable/* docker/app/kestra && chmod +x docker/app/kestra
- name: Docker - Fix Qemu
shell: bash
run: |
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes -c yes
# Docker Build and push
- name: Docker - Build image
uses: docker/build-push-action@v6
Expand Down

0 comments on commit ce15ca1

Please sign in to comment.