File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 4848# Image Push location
4949REGISTRY=${REGISTRY:- " ghcr.io" }
5050IMAGE_REPOSITORY=${IMAGE_NAME:- $GITHUB_REPOSITORY }
51- IMAGE_LOCATION=$REGISTRY /$IMAGE_REPOSITORY
51+ IMAGE_LOCATION=$( echo " $ REGISTRY /$IMAGE_REPOSITORY " | tr ' [:upper:] ' ' [:lower:] ' )
5252
5353TAG=" $IMAGE_LOCATION :py${PUBLISH_TARGET} -${PACKAGE_VERSION} "
5454
5555TAGS=" -t $TAG "
5656
5757# For the latest version we do extra stuff.
5858if [[ ! -z $PACKAGE_LATEST_VERSION ]] && [[ $PACKAGE_LATEST_VERSION = $PACKAGE_VERSION ]]; then
59- TAGS+ =" -t $IMAGE_LOCATION :py${PUBLISH_TARGET} -LATEST"
59+ TAGS=" -t $IMAGE_LOCATION :py${PUBLISH_TARGET} -LATEST"
6060
6161 VERSION_SHORTER=$( echo $PACKAGE_VERSION | cut -d" ." -f1,2)
62- TAGS+ =" -t $IMAGE_LOCATION :py${PUBLISH_TARGET} -${VERSION_SHORTER} "
62+ TAGS=" -t $IMAGE_LOCATION :py${PUBLISH_TARGET} -${VERSION_SHORTER} "
6363
6464 VERSION_SHORTERER=$( echo $PACKAGE_VERSION | cut -d" ." -f1)
6565 if [[ $VERSION_SHORTERER != " 0" ]]; then
66- TAGS+ =" -t $IMAGE_LOCATION :py${PUBLISH_TARGET} -${VERSION_SHORTERER} "
66+ TAGS=" -t $IMAGE_LOCATION :py${PUBLISH_TARGET} -${VERSION_SHORTERER} "
6767 fi
6868fi
6969
You can’t perform that action at this time.
0 commit comments