Skip to content

Commit

Permalink
correct the target architecture strings for arm, arm64 Linux packages
Browse files Browse the repository at this point in the history
  • Loading branch information
qrkourier committed Jan 6, 2025
1 parent bb12859 commit 25af4c1
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish-linux-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
rpm: aarch64
- goreleaser: armv7
gox: arm
deb: armv7
rpm: armv7
deb: armhf
rpm: armv7hl
packager:
- rpm
- deb
Expand All @@ -41,7 +41,7 @@ jobs:
ZITI_MAINTAINER: "OpenZiti Maintainers <[email protected]>"
ZITI_HOMEPAGE: "https://openziti.io"
ZITI_VENDOR: "NetFoundry Inc."
GOARCH: ${{ matrix.arch.goreleaser }}
TARGETARCH: ${{ matrix.packager == 'deb' && matrix.arch.deb || matrix.arch.rpm }}
MINIMUM_SYSTEMD_VERSION: 232
ZITI_DEB_TEST_REPO: ${{ vars.ZITI_DEB_TEST_REPO || 'zitipax-openziti-deb-test' }}
ZITI_RPM_TEST_REPO: ${{ vars.ZITI_RPM_TEST_REPO || 'zitipax-openziti-rpm-test' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-deployments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
ZITI_MAINTAINER: "OpenZiti Maintainers <[email protected]>"
ZITI_HOMEPAGE: "https://openziti.io"
ZITI_VENDOR: "NetFoundry Inc."
GOARCH: ${{ matrix.arch.goreleaser }}
TARGETARCH: ${{ matrix.arch.goreleaser }}
MINIMUM_SYSTEMD_VERSION: 232

- name: Upload Package to Build Summary
Expand Down
2 changes: 1 addition & 1 deletion dist/dist-packages/linux/nfpm-openziti-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# check https://nfpm.goreleaser.com/configuration for detailed usage
#
name: openziti-controller
arch: ${GOARCH}
arch: ${TARGETARCH}
platform: linux
version: ${ZITI_VERSION}
prerelease: ${ZITI_REV}
Expand Down
2 changes: 1 addition & 1 deletion dist/dist-packages/linux/nfpm-openziti-router.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# check https://nfpm.goreleaser.com/configuration for detailed usage
#
name: openziti-router
arch: ${GOARCH}
arch: ${TARGETARCH}
platform: linux
version: ${ZITI_VERSION}
prerelease: ${ZITI_REV}
Expand Down
2 changes: 1 addition & 1 deletion dist/dist-packages/linux/nfpm-openziti.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# check https://nfpm.goreleaser.com/configuration for detailed usage
#
name: openziti
arch: ${GOARCH}
arch: ${TARGETARCH}
platform: linux
version: ${ZITI_VERSION}
prerelease: ${ZITI_REV}
Expand Down

0 comments on commit 25af4c1

Please sign in to comment.