dpgaspar commented on a change in pull request #12518:
URL: https://github.com/apache/superset/pull/12518#discussion_r557531271
##########
File path: .github/workflows/docker_build_push.sh
##########
@@ -25,7 +25,7 @@ if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
PR_NUM=$(echo "${GITHUB_REF}" | sed 's:refs/pull/::' | sed 's:/merge::')
LATEST_TAG="pr-${PR_NUM}"
elif [[ "${GITHUB_EVENT_NAME}" == "release" ]]; then
- REFSPEC="${GITHUB_REF}"
+ REFSPEC=$(echo "${GITHUB_REF}" | sed 's:refs/tags/::' | head -c 20)
Review comment:
good point, for release could be hard to hit but it's close:
```
echo 999.999.999rc100 | wc -c
17
```
I'll add 40 to the others also
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]