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

ASF GitHub Bot logged work on BEAM-8105:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 11/Sep/19 16:33
            Start Date: 11/Sep/19 16:33
    Worklog Time Spent: 10m 
      Work Description: markflyhigh commented on pull request #9510: 
[BEAM-8105] update release guide with docker images
URL: https://github.com/apache/beam/pull/9510#discussion_r323298281
 
 

 ##########
 File path: website/src/contribute/release-guide.md
 ##########
 @@ -618,6 +646,43 @@ Staging binaries
 
 Verify that files are [present](https://dist.apache.org/repos/dist/dev/beam).
 
+#### Stage SDK images on hub.docker.com
+Build Python images and push to DockerHub
+```
+./gradlew :sdks:python:container:buildAll -Pdocker-tag=${RELEASE}_rc{RC_NUM}
+
+PYTHON_VER=("python2.7" "python3.5" "python3.6" "python3.7")
+for ver in "${PYTHON_VER[@]}"; do
+   docker push apachebeam/${ver}_sdk:${RELEASE}_rc{RC_NUM} &
+done
+``` 
+
+Build Java images and push to DockerHub
+```
+./gradlew :sdks:java:container:dockerPush -Pdocker-tag=${RELEASE}_rc{RC_NUM}
+```
+
+Build Go images and push to DockerHub
+```
+./gradlew :sdks:go:container:dockerPush -Pdocker-tag=${RELEASE}_rc{RC_NUM}
+```
+
+Clean up images from local
+```
+for ver in "${PYTHON_VER[@]}"; do
+   docker rmi -f apachebeam/${ver}_sdk:${RELEASE}_rc{RC_NUM}
+done
+docker rmi -f apachebeam/java_sdk:${RELEASE}_rc{RC_NUM}
+docker rmi -f apachebeam/go_sdk:${RELEASE}_rc{RC_NUM}
+```
+
+Verify all images are publish to DockerHub with tags: ${RELEASE}_rc{RC_NUM}
+
+How to find images:
+1. Visit 
[hhttps://hub.docker.com/u/apachebeam](https://hub.docker.com/u/apachebeam)
 
 Review comment:
   https?
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

    Worklog Id:     (was: 310785)
    Time Spent: 4h 50m  (was: 4h 40m)

> Add container publishing instruction to release manual
> ------------------------------------------------------
>
>                 Key: BEAM-8105
>                 URL: https://issues.apache.org/jira/browse/BEAM-8105
>             Project: Beam
>          Issue Type: Sub-task
>          Components: website
>            Reporter: Hannah Jiang
>            Assignee: Hannah Jiang
>            Priority: Major
>             Fix For: 2.16.0
>
>          Time Spent: 4h 50m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to