This is an automated email from the ASF dual-hosted git repository.
ulyssesyou pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-kyuubi.git
The following commit(s) were added to refs/heads/dev by this push:
new eca8358 push docker image
eca8358 is described below
commit eca83589bf593cbae742e805254a095ffe0ef137
Author: ulysses-you <[email protected]>
AuthorDate: Thu Sep 23 17:08:19 2021 +0800
push docker image
---
.github/workflows/image.yml | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/.github/workflows/image.yml b/.github/workflows/image.yml
new file mode 100644
index 0000000..d36abed
--- /dev/null
+++ b/.github/workflows/image.yml
@@ -0,0 +1,35 @@
+name: Publish Docker image
+
+on:
+ push:
+ branches:
+ - dev
+
+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: Checkout
+ uses: actions/checkout@v2
+ # https://github.com/docker/build-push-action
+ - name: Set up Docker Buildx
+ uses: docker/setup-buildx-action@v1
+ - name: Build Kyuubi Docker Image
+ uses: docker/build-push-action@v2
+ with:
+ context: .
+ file: docker/Dockerfile
+ tags: apache/kyuubi:master-snapshot
+ - name: Login to Docker Hub
+ uses: docker/login-action@v1
+ with:
+ username: ${{ secrets.DOCKERHUB_USER }}
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
+ - name: Push Docker image
+ run: docker push apache/kyuubi:master-snapshot
+