Skip to content

Commit

Permalink
MINOR: Use docker buildx to promote docker image (#14974)
Browse files Browse the repository at this point in the history
Reviewers: Manikumar Reddy <[email protected]>
  • Loading branch information
VedarthConfluent authored Dec 8, 2023
1 parent 38c873b commit b07a9b1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/docker_promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit b07a9b1

Please sign in to comment.