[KYUUBI #1138] Revert "[KYUUBI #937] Push Kyuubi docker image"

This reverts commit 0cd41e1eac.

<!--
Thanks for sending a pull request!

Here are some tips for you:
  1. If this is your first time, please read our contributor guidelines: https://kyuubi.readthedocs.io/en/latest/community/contributions.html
  2. If the PR is related to an issue in https://github.com/apache/incubator-kyuubi/issues, add '[KYUUBI #XXXX]' in your PR title, e.g., '[KYUUBI #XXXX] Your PR title ...'.
  3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][KYUUBI #XXXX] Your PR title ...'.
-->

### _Why are the changes needed?_
<!--
Please clarify why the changes are needed. For instance,
  1. If you add a feature, you can talk about the use case of it.
  2. If you fix a bug, you can clarify why it is a bug.
-->
```
2021-09-23T02:15:35.6185062Z error: denied: requested access to the resource is denied
2021-09-23T02:15:36.2512609Z ##[error]buildx failed with: error: denied: requested access to the resource is denied
```
push image failed, not sure why it happened.

### _How was this patch tested?_
Pass CI

Closes #1138 from ulysses-you/revert.

Closes #1138

Closes #937

b12b4b56 [ulysses-you] Revert "[KYUUBI #937] Push Kyuubi docker image"

Authored-by: ulysses-you <ulyssesyou18@gmail.com>
Signed-off-by: Cheng Pan <chengpan@apache.org>
This commit is contained in:
ulysses-you 2021-09-23 10:53:51 +08:00 committed by Cheng Pan
parent 0cd41e1eac
commit b26563126f
No known key found for this signature in database
GPG Key ID: 8001952629BCC75D

View File

@ -1,28 +0,0 @@
name: Publish Docker image
on:
push:
branches:
- master
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
concurrency:
# this group should be global unique
group: push-docker-image
cancel-in-progress: true
steps:
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
file: docker/Dockerfile
push: true
tags: apache/kyuubi:master-snapshot