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

bowenliang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kyuubi.git


The following commit(s) were added to refs/heads/master by this push:
     new c8b4dd1d8 [KYUUBI #5779] [CI] Upgrade Github actions for Docker
c8b4dd1d8 is described below

commit c8b4dd1d8b9edf223670eebecefe616e2a3d7865
Author: Bowen Liang <[email protected]>
AuthorDate: Mon Nov 27 23:10:29 2023 +0800

    [KYUUBI #5779] [CI] Upgrade Github actions for Docker
    
    # :mag: Description
    ## Issue References ๐Ÿ”—
    
    As described.
    
    ## Describe Your Solution ๐Ÿ”ง
    
    - Bump docker/setup-buildx-action from v2 to v3
      -  docker/setup-buildx-action v3.0.0 release note: 
https://github.com/docker/setup-buildx-action/releases/tag/v3.0.0
    - Bump docker/build-push-action from v3 to v5
      - docker/buld-push action v5.1.0 release note: 
https://github.com/docker/build-push-action/releases/tag/v5.1.0
    - Bump docker/login-action from v2 to v3
      - v3.0.0 release note: 
https://github.com/docker/login-action/releases/tag/v3.0.0
    - Bump setup-qemu-action from v2 to v3
      - v3.0.0 release note: 
https://github.com/docker/setup-qemu-action/releases/tag/v3.0.0
    - All upgraded actions now use NodeJS 20 as default runtime
    
    ## Types of changes :bookmark:
    
    - [ ] Bugfix (non-breaking change which fixes an issue)
    - [ ] New feature (non-breaking change which adds functionality)
    - [ ] Breaking change (fix or feature that would cause existing 
functionality to change)
    
    ## Test Plan ๐Ÿงช
    
    #### Behavior Without This Pull Request :coffin:
    No behavior changes.
    
    #### Behavior With This Pull Request :tada:
    No behavior changes.
    
    #### Related Unit Tests
    No behavior changes.
    
    ---
    
    # Checklists
    ## ๐Ÿ“ Author Self Checklist
    
    - [x] My code follows the [style 
guidelines](https://kyuubi.readthedocs.io/en/master/contributing/code/style.html)
 of this project
    - [x] I have performed a self-review
    - [x] I have commented my code, particularly in hard-to-understand areas
    - [ ] I have made corresponding changes to the documentation
    - [ ] My changes generate no new warnings
    - [ ] I have added tests that prove my fix is effective or that my feature 
works
    - [ ] New and existing unit tests pass locally with my changes
    - [x] This patch was not authored or co-authored using [Generative 
Tooling](https://www.apache.org/legal/generative-tooling.html)
    
    ## ๐Ÿ“ Committer Pre-Merge Checklist
    
    - [ ] Pull request title is okay.
    - [ ] No license issues.
    - [ ] Milestone correctly set?
    - [ ] Test coverage is ok
    - [ ] Assignees are selected.
    - [ ] Minimum number of approvals
    - [ ] No changes are requested
    
    **Be nice. Be informative.**
    
    Closes #5779 from bowenliang123/docker-push-v5.
    
    Closes #5779
    
    ceed9e0ec [Bowen Liang] bump docker/setup-qemu-action to v3
    810bc18a6 [Bowen Liang] bump
    ad36ebc2c [Bowen Liang] Bump docker/build-push-action from v3 to v5
    
    Authored-by: Bowen Liang <[email protected]>
    Signed-off-by: liangbowen <[email protected]>
---
 .github/workflows/master.yml                  | 4 ++--
 .github/workflows/publish-snapshot-docker.yml | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml
index dd612a06c..6c12700d8 100644
--- a/.github/workflows/master.yml
+++ b/.github/workflows/master.yml
@@ -398,9 +398,9 @@ jobs:
         uses: actions/checkout@v4
       # https://github.com/docker/build-push-action
       - name: Set up Docker Buildx
-        uses: docker/setup-buildx-action@v2
+        uses: docker/setup-buildx-action@v3
       - name: Build Kyuubi Docker Image
-        uses: docker/build-push-action@v3
+        uses: docker/build-push-action@v5
         with:
           # passthrough CI into build container
           build-args: |
diff --git a/.github/workflows/publish-snapshot-docker.yml 
b/.github/workflows/publish-snapshot-docker.yml
index 9939bd190..0a73dcc2d 100644
--- a/.github/workflows/publish-snapshot-docker.yml
+++ b/.github/workflows/publish-snapshot-docker.yml
@@ -30,16 +30,16 @@ jobs:
       - name: Checkout
         uses: actions/checkout@v4
       - name: Set up QEMU
-        uses: docker/setup-qemu-action@v2
+        uses: docker/setup-qemu-action@v3
       - name: Set up Docker Buildx
-        uses: docker/setup-buildx-action@v2
+        uses: docker/setup-buildx-action@v3
       - name: Login to Docker Hub
-        uses: docker/login-action@v2
+        uses: docker/login-action@v3
         with:
           username: ${{ secrets.DOCKERHUB_USER }}
           password: ${{ secrets.DOCKERHUB_TOKEN }}
       - name: Build and Push Kyuubi Docker Image
-        uses: docker/build-push-action@v4
+        uses: docker/build-push-action@v5
         with:
           # build cache on Github Actions, See: 
https://docs.docker.com/build/cache/backends/gha/#using-dockerbuild-push-action
           cache-from: type=gha

Reply via email to