use bashism

This commit is contained in:
ssplatt committed 2021-06-11 14:55:52 -04:00
1 parent 5982f65852
commit c675ed3a92
1 file changed
+1 -1
+1 -1
View File
@@ -22,7 +22,7 @@ jobs:
REGISTRY="ghcr.io"
IMAGE="${REGISTRY}/${{ steps.repository.outputs.lowercase }}"
TAGS="${IMAGE}:${{ github.sha }},${IMAGE}:latest"
REF=${{ github.ref.lowercase }}
REF=${GITHUB_REF,,}
PREFIX="$(dirname $REF)"
SUFFIX="$(basename $REF)"
if [[ $PREFIX = "refs/heads" ]]; then