From 79f010e92d5db82d19c96d6e21bdb6df52f71edc Mon Sep 17 00:00:00 2001 From: Devon Bautista Date: Thu, 7 Nov 2024 18:47:27 -0700 Subject: [PATCH] ci: include cpu arch versions --- .github/workflows/main.yml | 6 +++--- .goreleaser.yaml | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8110867..7d1354f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -52,7 +52,7 @@ jobs: - name: Attest ochami binary linux_arm64 uses: actions/attest-build-provenance@v1 with: - subject-path: '${{ github.workspace }}/dist/ochami_linux_arm64/ochami' + subject-path: '${{ github.workspace }}/dist/ochami_linux_arm64_v8.0/ochami' - name: Attest ochami binary darwin_amd64 uses: actions/attest-build-provenance@v1 with: @@ -60,7 +60,7 @@ jobs: - name: Attest ochami binary darwin_arm64 uses: actions/attest-build-provenance@v1 with: - subject-path: '${{ github.workspace }}/dist/ochami_darwin_arm64/ochami' + subject-path: '${{ github.workspace }}/dist/ochami_darwin_arm64_v8.0/ochami' - name: Attest ochami binary windows_amd64 uses: actions/attest-build-provenance@v1 with: @@ -68,7 +68,7 @@ jobs: - name: Attest ochami binary windows_arm64 uses: actions/attest-build-provenance@v1 with: - subject-path: '${{ github.workspace }}/dist/ochami_windows_arm64/ochami.exe' + subject-path: '${{ github.workspace }}/dist/ochami_windows_arm64_v8.0/ochami.exe' - name: Attest ochami docker container uses: actions/attest-build-provenance@v1 with: diff --git a/.goreleaser.yaml b/.goreleaser.yaml index a5f00f6..ab59e52 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -17,6 +17,10 @@ builds: goarch: - amd64 - arm64 + goamd64: + - v1 + goarm64: + - v8.0 archives: - format: tar.gz