ci: fix comparision of ref name

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2023-02-24 10:32:58 +01:00
parent 9b1c9f971f
commit f1b331bbbd

View File

@ -67,7 +67,7 @@ runs:
tags=""
sbom=""
if [[ "${{ github.ref }}" == "${{ github.event.repository.default_branch }}" ]]; then
if [[ "${{ github.ref_name }}" == "${{ github.event.repository.default_branch }}" ]]; then
tags="latest"
else:
tags="${{ github.sha }}"