diff --git a/.github/workflows/goreleaser.yml b/.github/workflows/goreleaser.yml index 374594c..86b3ecc 100644 --- a/.github/workflows/goreleaser.yml +++ b/.github/workflows/goreleaser.yml @@ -48,17 +48,6 @@ jobs: run: | echo "${DOCKER_PASSWORD}" | docker login --username "${DOCKER_USERNAME}" --password-stdin echo "${GITHUB_TOKEN}" | docker login ghcr.io --username $GITHUB_ACTOR --password-stdin - - - name: GoReleaser - if: success() - env: - GITHUB_TOKEN: ${{ secrets.GO_RELEASER_GITHUB_TOKEN }} - run: | - if [[ $GITHUB_REF == refs/tags/v* ]]; then - ./goreleaser - elif [[ $GITHUB_REF == refs/heads/master ]]; then - ./goreleaser --snapshot - fi - name: Clear if: always() && startsWith(github.ref, 'refs/tags/v')