diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 840b40a..128f1b6 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -2,7 +2,9 @@ name: gobuild on: push: - branches: [ "master" ] + # run only against tags + tags: + - '*' jobs: docker: @@ -26,4 +28,4 @@ jobs: with: platforms: linux/amd64,linux/arm64 push: true - tags: asmogo/nws-exit-node:latest \ No newline at end of file + tags: asmogo/nws:latest \ No newline at end of file diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index 94d5e19..2b51278 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -30,6 +30,6 @@ jobs: # either 'goreleaser' (default) or 'goreleaser-pro' distribution: goreleaser version: latest - args: release --rm-dist + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}