[ 
https://issues.apache.org/jira/browse/HIVE-27277?focusedWorklogId=859355&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-859355
 ]

ASF GitHub Bot logged work on HIVE-27277:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 27/Apr/23 08:55
            Start Date: 27/Apr/23 08:55
    Worklog Time Spent: 10m 
      Work Description: TuroczyX commented on code in PR #4274:
URL: https://github.com/apache/hive/pull/4274#discussion_r1178833962


##########
.github/workflows/docker-image.yml:
##########
@@ -0,0 +1,38 @@
+name: ci hive docker image
+
+on:
+  push:
+    branches:
+      - "master"
+
+jobs:
+  build:
+    runs-on: ubuntu-latest
+    steps:
+      -
+        name: Checkout
+        uses: actions/checkout@v3
+      -
+        name: Login to Docker Hub
+        uses: docker/login-action@v2
+        with:
+          username: ${{ secrets.DOCKERHUB_USERNAME }}
+          password: ${{ secrets.DOCKERHUB_TOKEN }}
+      -
+        name: Set up Docker Buildx
+        uses: docker/setup-buildx-action@v2
+        
+      -
+        name: Build and push
+        uses: docker/build-push-action@v4
+        with:
+          context: ./packaging/src/docker/
+          file: ./packaging/src/docker/Dockerfile
+          push: true
+          tags: ${{ secrets.DOCKERHUB_USERNAME }}/hive:test-image

Review Comment:
   How about -hive:dev or -hive:daily?
   The GA version should be the same as the industry follows like 
hive4.0-latest imho
   





Issue Time Tracking
-------------------

    Worklog Id:     (was: 859355)
    Time Spent: 1h 10m  (was: 1h)

> Set up github actions workflow to build and push docker image to docker hub
> ---------------------------------------------------------------------------
>
>                 Key: HIVE-27277
>                 URL: https://issues.apache.org/jira/browse/HIVE-27277
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Simhadri Govindappa
>            Assignee: Simhadri Govindappa
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to