Fix docker tagging

This commit is contained in:
Pedro González Serrano committed 2021-04-29 12:20:50 +02:00
1 parent 88aa4f8838
commit 362a561bf6
1 file changed
+1 -1
+1 -1
View File
@@ -20,7 +20,7 @@ jobs:
REGISTRY="ghcr.io"
IMAGE="${REGISTRY}/${{ steps.repository.outputs.lowercase }}"
TAGS="${IMAGE}:${{ github.sha }}"
if [[ $GITHUB_REF == ref/head/master ]]; then
if [[ $GITHUB_REF == refs/heads/master ]]; then
TAGS="${TAGS},${IMAGE}:latest"
fi
echo ::set-output name=tags::${TAGS}