Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(release): hotfix publish not respecting source package architecture #2376

Merged
merged 1 commit into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Loading