diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 7f54ee0..6be38c3 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -12,7 +12,7 @@ jobs: id: vars run: | echo ::set-output name=tag::$(echo ${GITHUB_REF#refs/tags/}) - echo ::set-output name=branch::$(echo ${GITHUB_REF##*/}) + echo ::set-output name=branch::$(echo ${GITHUB_REF#refs/heads/}) - name: Docker Login run: echo ${{ secrets.GITHUB_TOKEN }} | docker login https://docker.pkg.github.com -u vulcanize --password-stdin - name: Build and push