Fix tagging released Docker image on CI

This commit is contained in:
tyranron 2022-11-16 18:41:57 +01:00
parent 7feae7afe4
commit f41aee2224
No known key found for this signature in database
GPG Key ID: 762E144FB230A4F0

View File

@ -222,9 +222,9 @@ jobs:
${{ steps.docker.outputs.tag }}-i386
${{ steps.docker.outputs.tag }}-ppc64le
${{ steps.docker.outputs.tag }}-s390x'
tags=${{ (startsWith(github.ref, 'refs/tags/')
&& '')
|| steps.docker.outputs.tag }}
tags=${{ (!startsWith(github.ref, 'refs/tags/')
&& steps.docker.outputs.tag)
|| '' }}
env:
DOCKERFILE: ${{ matrix.dist }} # for correct `tags` auto-detection
working-directory: docker/coturn/