Browse Source

Fix tagging released Docker image on CI

tyranron 2 years ago
parent
commit
f41aee2224
1 changed files with 3 additions and 3 deletions
  1. 3 3
      .github/workflows/docker.yml

+ 3 - 3
.github/workflows/docker.yml

@@ -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/