mirror of
https://github.com/moby/moby.git
synced 2026-01-11 10:41:43 +00:00
gha: add support for docker-v* tags
ci(bin-image): strip prefix for bin-image tags Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
This commit is contained in:
committed by
Sebastiaan van Stijn
parent
b514589124
commit
acfe4e8613
@@ -40,6 +40,7 @@ DEFAULT_BUNDLES=(
|
||||
|
||||
VERSION=${VERSION:-dev}
|
||||
case "$VERSION" in
|
||||
refs/tags/docker-v*) VERSION=${VERSION#refs/tags/docker-v} ;;
|
||||
refs/tags/v*) VERSION=${VERSION#refs/tags/v} ;;
|
||||
refs/tags/*) VERSION=${VERSION#refs/tags/} ;;
|
||||
refs/heads/*) VERSION=$(echo "${VERSION#refs/heads/}" | sed -r 's#/+#-#g') ;;
|
||||
|
||||
Reference in New Issue
Block a user