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

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

                Author: ASF GitHub Bot
            Created on: 11/Dec/20 22:03
            Start Date: 11/Dec/20 22:03
    Worklog Time Spent: 10m 
      Work Description: ihji commented on a change in pull request #13517:
URL: https://github.com/apache/beam/pull/13517#discussion_r541342375



##########
File path: sdks/go/container/build.gradle
##########
@@ -47,12 +47,14 @@ golang {
   }
 }
 
+def defaultTag = project.rootProject.hasProperty(["docker-tag"]) ? 
[project.rootProject["docker-tag"], 'latest'] : ['latest']

Review comment:
       Thanks for the comment.
   
   > By default this will always push latest tag, which I'm not sure we 
actually want to force.
   
   FYI, 'latest' tag is only attached when we use `dockerTagPush` command (not 
`dockerPush`).
   
   If we allow a comma-separated string in `docker-tag`, it will break `docker` 
task. `docker` and `dockerTag` are different commands where `docker` command 
only works with the tag specified by `docker-tag` property but `dockerTag` 
command respects the list of tags in `tags`.
   
   We should define a separate property something like `docker-aux-tag` (or 
`docker-secondary-tag`) and set `docker-tag` + `docker-aux-tag` for `tags` to 
let users append their own tags. Do you want to go with this option?




----------------------------------------------------------------
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:
[email protected]


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

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

> put latest tag when publishing SDK head containers to gcr
> ---------------------------------------------------------
>
>                 Key: BEAM-11432
>                 URL: https://issues.apache.org/jira/browse/BEAM-11432
>             Project: Beam
>          Issue Type: Improvement
>          Components: java-fn-execution, testing
>            Reporter: Heejong Lee
>            Assignee: Heejong Lee
>            Priority: P2
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> put latest tag when publishing SDK head containers to gcr



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to