This commit is contained in:
QuantumEntangledAndy committed 2023-04-18 09:54:20 +07:00
1 parent 9a153cda80
commit 42ff221b07
1 file changed
+2 -2
+2 -2
View File
@@ -188,7 +188,7 @@ jobs:
tags=""
if [[ "${GITHUB_REF}" =~ ^'refs/tags/'(.*) ]]; then
gittag="$(echo "${BASH_REMATCH[1]}" | sed -E 's|[/]|-|g')"
tags=""${REPO_NAME}:${gittag}"
tags="${REPO_NAME}:${gittag}"
elif [[ "${GITHUB_REF}" =~ ^'refs/heads/'(.*) ]]; then
branch="$(echo "${BASH_REMATCH[1]}" | sed -E 's|[/]|-|g')"
tags="${REPO_NAME}:${branch}"
@@ -196,7 +196,7 @@ jobs:
tags="${tags},${REPO_NAME}:latest"
fi
fi
echo "TAGS=${tags}" >> $GITHUB_OUTPUT
echo "TAGS=${tags}" >> "${GITHUB_OUTPUT}"
env:
REPO_NAME: ${{ steps.string_repo.outputs.lowercase }}
- name: Install latest rust