mirror of
https://github.com/elgohr/Publish-Docker-Github-Action.git
synced 2026-03-12 18:07:12 -04:00
This commit is contained in:
@@ -16,7 +16,7 @@ if [ -z "${INPUT_PASSWORD}" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
BRANCH=$(echo ${GITHUB_REF} | sed -e "s/refs\/heads\///g")
|
||||
BRANCH=$(echo ${GITHUB_REF} | sed -e "s/refs\/heads\///g" | sed -e "s/\//-/g")
|
||||
|
||||
if [ "${BRANCH}" = "master" ]; then
|
||||
BRANCH="latest"
|
||||
|
||||
Reference in New Issue
Block a user