From 32512330e1559b6f51a348e5e0daaa1fa3127cf6 Mon Sep 17 00:00:00 2001 From: eeliu <27064129+eeliu@users.noreply.github.com> Date: Tue, 13 Aug 2024 11:28:29 +0800 Subject: [PATCH] fix arm failed (#669) remove arm --- .github/workflows/publish-collector-agent.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-collector-agent.yml b/.github/workflows/publish-collector-agent.yml index 4a85b234..a7f28de1 100644 --- a/.github/workflows/publish-collector-agent.yml +++ b/.github/workflows/publish-collector-agent.yml @@ -10,6 +10,7 @@ permissions: env: REGISTRY_IMAGE: ghcr.io/${{ github.repository }}/collector-agent + TAG_NAME: ${{ github.head_ref || github.ref_name }} jobs: collector-agent: @@ -122,7 +123,7 @@ jobs: matrix: # build and publish in parallel: linux/386, linux/amd64, linux/arm64, windows/386, windows/amd64, darwin/amd64, darwin/arm64 goos: [linux, windows] - goarch: [amd64, arm64] + goarch: [amd64] steps: - name: Show environment run: export @@ -136,4 +137,5 @@ jobs: goarch: ${{ matrix.goarch }} project_path: "collector-agent" binary_name: "collector-agent" - extra_files: LICENSE collector-agent/CHANGES.md \ No newline at end of file + extra_files: LICENSE collector-agent/CHANGES.md + ldflags: -X "github.com/pinpoint-apm/pinpoint-c-agent/collector-agent/server.Version=${{ env.TAG_NAME }}" \ No newline at end of file