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 }}