Skip to content

Commit

Permalink
fix borked release
Browse files Browse the repository at this point in the history
Signed-off-by: razzle <harry@razzle.cloud>
  • Loading branch information
Noxsios committed Mar 11, 2024
1 parent 267c165 commit c8ecd8c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
@@ -1,4 +1,4 @@
name: Publish Zarf Packages on Tag
name: Release CLI and Packages on Tag

permissions:
contents: read
Expand Down
3 changes: 3 additions & 0 deletions .goreleaser.yaml
Expand Up @@ -76,6 +76,9 @@ brews:
owner: defenseunicorns
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
pull_request:
enabled: true

commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
homepage: "https://zarf.dev/"
description: "DevSecOps for Air Gap"
Expand Down
2 changes: 1 addition & 1 deletion src/pkg/packager/publish.go
Expand Up @@ -77,7 +77,7 @@ func (p *Packager) Publish() (err error) {
if p.cfg.CreateOpts.IsSkeleton {
platform = zoci.PlatformForSkeleton()
} else {
platform = oci.PlatformForArch(config.GetArch())
platform = oci.PlatformForArch(p.arch)
}
remote, err := zoci.NewRemote(ref, platform)
if err != nil {
Expand Down

0 comments on commit c8ecd8c

Please sign in to comment.