diff --git a/.github/workflows/build-image.yaml b/.github/workflows/build-image.yaml index 34098f2a3..af1937a7a 100644 --- a/.github/workflows/build-image.yaml +++ b/.github/workflows/build-image.yaml @@ -26,12 +26,17 @@ jobs: - name: Find tag id: get_tag - run: echo ::set-output name=TAG::${GITHUB_REF#refs/tags/} + run: | + echo ${GITHUB_REF#refs/tags/} + echo ::set-output name=TAG::${GITHUB_REF#refs/tags/} if: startsWith(github.ref, 'refs/tags') - name: Find branch name id: get_branch - run: echo ::set-output name=BRANCH::${GITHUB_REF#refs/heads/} + run: | + echo ${GITHUB_REF#refs/heads/} + echo ::set-output name=BRANCH::${GITHUB_REF#refs/heads/} + exit 1 - name: Login to registry uses: docker/login-action@v1