Skip to content

Commit 3e529f0

Browse files
committed
disable publish in goreleaser and use action-gh-release instead
1 parent a262c32 commit 3e529f0

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/plugin.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,20 @@ jobs:
4646
uses: goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552 # v6.3.0
4747
with:
4848
version: "~> v2"
49-
args: release --clean
49+
args: build --clean
5050
env:
5151
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5252
GORELEASER_CURRENT_TAG: ${{ env.GORELEASER_CURRENT_TAG }}
5353

54+
- name: Upload artifacts to release
55+
uses: softprops/[email protected]
56+
with:
57+
files: |
58+
dist/kubectl-ingress-nginx_*
59+
dist/*_checksums.txt
60+
env:
61+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
62+
5463
- name: Update new version in krew-index
5564
if: ${{ startsWith(github.ref, 'refs/tags/controller-') }}
5665
uses: rajatjindal/krew-release-bot@3d9faef30a82761d610544f62afddca00993eef9 # v0.0.47

.goreleaser.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ release:
55
github:
66
owner: alexintech
77
name: ingress-nginx
8+
disable: true
89
builds:
910
- id: ingress-nginx
1011
goos:

0 commit comments

Comments
 (0)