Skip to content

Commit

Permalink
Revert "Upload NGINX Ingress Controller binaries to release (#2044)"
Browse files Browse the repository at this point in the history
This reverts commit 26715f7.
  • Loading branch information
ciarams87 committed Jan 6, 2022
1 parent 7b3900c commit 2665e33
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/ci.yml
Expand Up @@ -273,18 +273,11 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: ${{ needs.checks.outputs.go_version }}
- name: Publish Release Notes on new tag
uses: release-drafter/release-drafter@v5
with:
publish: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
if: ${{ startsWith(github.ref, 'refs/tags/') }}
- name: Build binaries
uses: goreleaser/goreleaser-action@v2
with:
version: latest
args: ${{ !startsWith(github.ref, 'refs/tags/') && 'build --snapshot' || 'release' }} ${{ github.event_name == 'pull_request' && '--single-target' || '' }} --rm-dist ${{ !startsWith(github.ref, 'refs/tags/') && '--id kubernetes-ingress' || '' }}
args: build --rm-dist --id kubernetes-ingress ${{ github.event_name == 'pull_request' && '--single-target' || '' }} ${{ !startsWith(github.ref, 'refs/tags/') && '--snapshot' || '' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GOPATH: ${{ needs.check.outputs.go_path }}
Expand Down Expand Up @@ -471,3 +464,16 @@ jobs:
git -c user.name='${{ env.GIT_NAME }}' -c user.email='${{ env.GIT_MAIL }}' \
commit -m "NGINX Ingress Controller - Release ${{ needs.package-helm.outputs.type }} ${{ needs.package-helm.outputs.version }}"
git push -u origin master
publish-release-notes:
name: Publish Release Notes
runs-on: ubuntu-20.04
needs: release-helm
if: ${{ startsWith(github.ref, 'refs/tags/') }}
steps:
- name: Publish Release Notes
uses: release-drafter/release-drafter@v5
with:
publish: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9 changes: 1 addition & 8 deletions .goreleaser.yml
Expand Up @@ -38,13 +38,6 @@ builds:
tags:
- aws
archives:
- id: kubernetes-ingress
format: binary
builds: [kubernetes-ingress]
- id: aws
format: binary
builds: [aws]
- format: binary
changelog:
skip: true
release:
ids: [kubernetes-ingress]

0 comments on commit 2665e33

Please sign in to comment.