You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ma...@apache.org on 2026/04/03 18:54:02 UTC

(camel-karavan) branch main updated: fix docker/setup-qemu-action ban

This is an automated email from the ASF dual-hosted git repository.

marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git


The following commit(s) were added to refs/heads/main by this push:
     new 4f31bea6 fix docker/setup-qemu-action ban
4f31bea6 is described below

commit 4f31bea6f32a0ce21e2a40b2f1315246631012e6
Author: Marat Gubaidullin <ma...@talismancloud.io>
AuthorDate: Fri Apr 3 14:53:58 2026 -0400

    fix docker/setup-qemu-action ban
---
 .github/workflows/docker-devmode.yml | 34 +++++++++++++++++++---------------
 1 file changed, 19 insertions(+), 15 deletions(-)

diff --git a/.github/workflows/docker-devmode.yml b/.github/workflows/docker-devmode.yml
index 31884e4e..04d2e15a 100644
--- a/.github/workflows/docker-devmode.yml
+++ b/.github/workflows/docker-devmode.yml
@@ -18,22 +18,26 @@ jobs:
 
     steps:
       - name: Checkout repository
-        uses: actions/checkout@v4
+        uses: actions/checkout@v6
+
       - name: Set up QEMU
-        uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a
+        run: |
+          sudo apt-get update
+          sudo apt-get install -y qemu-user-static
+
       - name: Set up Docker Buildx
-        uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd
+        run: |
+          docker buildx create --use
+
       - name: Log in to the Container registry
-        uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121
-        with:
-          registry: ${{ env.REGISTRY }}
-          username: ${{ github.actor }}
-          password: ${{ secrets.GITHUB_TOKEN }}
+        run: |
+          echo "${{ secrets.GITHUB_TOKEN }}" | docker login ${{ env.REGISTRY }} -u ${{ github.actor }} --password-stdin
+
       - name: Build and push Docker image
-        uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294
-        with:
-          context: ./karavan-devmode
-          platforms: linux/amd64,linux/arm64
-          file: karavan-devmode/Dockerfile
-          push: true
-          tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}
\ No newline at end of file
+        run: |
+          docker buildx build \
+            --platform linux/amd64,linux/arm64 \
+            --file karavan-devmode/Dockerfile \
+            --tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }} \
+            --push \
+            ./karavan-devmode
\ No newline at end of file