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

manikumar pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new b07a9b17c19 MINOR: Use docker buildx to promote docker image (#14974)
b07a9b17c19 is described below

commit b07a9b17c19d94b20b602bb4aa1b363950ae7d10
Author: Vedarth Sharma <142404391+vedarthconflu...@users.noreply.github.com>
AuthorDate: Fri Dec 8 14:15:20 2023 +0530

    MINOR: Use docker buildx to promote docker image (#14974)
    
    Reviewers: Manikumar Reddy <manikumar.re...@gmail.com>
---
 .github/workflows/docker_promote.yml | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/docker_promote.yml 
b/.github/workflows/docker_promote.yml
index 51689c81d31..3449265877b 100644
--- a/.github/workflows/docker_promote.yml
+++ b/.github/workflows/docker_promote.yml
@@ -30,12 +30,15 @@ jobs:
     if: github.repository == 'apache/kafka'
     runs-on: ubuntu-latest
     steps:
+    - name: Set up QEMU
+      uses: docker/setup-qemu-action@v3
+    - name: Set up Docker Buildx
+      uses: docker/setup-buildx-action@v3
     - name: Login to Docker Hub
       uses: docker/login-action@v3
       with:
         username: ${{ secrets.DOCKERHUB_USER }}
         password: ${{ secrets.DOCKERHUB_TOKEN }}
     - name: Copy RC Image to promoted image
-      uses: iarekylew00t/regctl-installer@v1
-    - run: |
-        regctl image copy ${{ github.event.inputs.rc_docker_image }} ${{ 
github.event.inputs.promoted_docker_image }}
+      run: |
+        docker buildx imagetools create --tag ${{ 
github.event.inputs.promoted_docker_image }} ${{ 
github.event.inputs.rc_docker_image }}

Reply via email to