diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index c7b0ace..9bc4ab9 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -59,9 +59,9 @@ jobs: latest=false tags: | type=pep440,pattern={{raw}} - type=raw,value=develop,enable=${{ github.ref == format('refs/heads/{0}', 'develop') }} - type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'master') }} - type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }} + type=raw,value=develop,enable=${{ github.ref == 'refs/heads/develop' }} + type=raw,value=latest,enable=${{ github.ref == 'refs/heads/master' }} + type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }} - name: Echo different output of set-tag run: echo "The old set-tag output is matrixdotorg/synapse:${{ steps.set-tag-old.outputs.tag }} \n The new set-tag output is ${{ steps.set-tag-new.outputs.tags }}"