From 39533543300467a13bc42ac1ae07d688a6fb7e94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5rten=20Svantesson?= Date: Thu, 10 Oct 2024 14:06:26 +0200 Subject: [PATCH] fix: testing if GITHUB_TOKEN works for ghcr also skipping build unused binaries related to jenkins-x/jx#8670 --- .github/workflows/jenkins-x-release.yaml | 2 +- .goreleaser.yml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/jenkins-x-release.yaml b/.github/workflows/jenkins-x-release.yaml index b372c1c..b944ab2 100644 --- a/.github/workflows/jenkins-x-release.yaml +++ b/.github/workflows/jenkins-x-release.yaml @@ -52,7 +52,7 @@ jobs: with: registry: ghcr.io username: ${{ github.repository_owner }} - password: ${{ secrets.GHCR_TOKEN }} + password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push uses: docker/build-push-action@v2 with: diff --git a/.goreleaser.yml b/.goreleaser.yml index df2fd29..c3889ed 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -34,9 +34,10 @@ builds: # Defaults are 386 and amd64. goarch: - amd64 - - arm - arm64 - + ignore: + - goos: windows + goarch: arm64 archives: - name_template: "jx-admin-{{ .Os }}-{{ .Arch }}" format_overrides: