Skip to content

Commit

Permalink
Merge pull request #1741 from cpanato/drop-brew
Browse files Browse the repository at this point in the history
stop generation homebrew update as melange in in homebrew core
  • Loading branch information
cpanato authored Jan 14, 2025
2 parents 778a572 + 9b584ff commit dc682ac
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 28 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,9 @@ jobs:
version: latest
install-only: true

# Federate to create a token to authenticate with the homebrew-tap repository.
- uses: octo-sts/action@6177b4481c00308b3839969c3eca88c96a91775f # v1.0.0
if: steps.check.outputs.need_release == 'yes'
id: octo-sts
with:
scope: chainguard-dev/homebrew-tap
identity: melange

- name: Release
if: steps.check.outputs.need_release == 'yes'
run: make release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{ steps.octo-sts.outputs.token }}
TAG: ${{ steps.check.outputs.existing_tag || steps.create_tag.outputs.new_tag }}
19 changes: 0 additions & 19 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,25 +44,6 @@ archives:
- LICENSE
wrap_in_directory: true

brews:
- name: melange
repository:
owner: chainguard-dev
name: homebrew-tap
branch: main
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
url_template: "https://github.com/chainguard-dev/melange/releases/download/v{{ .Version }}/{{ .ArtifactName }}"
directory: Formula
commit_author:
name: guardian
email: [email protected]
homepage: "https://github.com/chainguard-dev/melange"
description: "Build apk packages using declarative pipelines"
install: |
bin.install "{{ .Binary }}" => "{{ .ProjectName }}"
test: |
system "#{bin}/{{ .ProjectName }}", "version"
checksum:
name_template: 'checksums.txt'

Expand Down

0 comments on commit dc682ac

Please sign in to comment.