Swap invalid chatacter in dockerhub step
This commit is contained in:
1 parent
a3aa3c4556
commit
6d0d290644
1 file changed
+1
-1
@@ -183,7 +183,7 @@ jobs:
|
||||
if: ${{ steps.vars.outputs.HAS_SECRET_TOKEN }}
|
||||
id: tags
|
||||
run: |
|
||||
branch="${GITHUB_REF#refs/heads/}"
|
||||
branch="$(echo "${GITHUB_REF#refs/heads/}" | sed -E 's|[/]|-|g')"
|
||||
tags="${REPO_NAME}:${branch}"
|
||||
if [ "${branch}" == "master" ]; then
|
||||
tags="${tags},${REPO_NAME}:latest"
|
||||
|
||||
Reference in new issue
Block a user