Skip to content

Commit

Permalink
fix arm failed
Browse files Browse the repository at this point in the history
remove arm
  • Loading branch information
eeliu committed Aug 13, 2024
1 parent df5e24b commit bf04e8d
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/publish-collector-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -123,6 +124,9 @@ jobs:
# 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]
exclude:
- goarch: arm64
goos: windows
steps:
- name: Show environment
run: export
Expand All @@ -136,4 +140,5 @@ jobs:
goarch: ${{ matrix.goarch }}
project_path: "collector-agent"
binary_name: "collector-agent"
extra_files: LICENSE collector-agent/CHANGES.md
extra_files: LICENSE collector-agent/CHANGES.md
ldflags: -X "github.com/pinpoint-apm/pinpoint-c-agent/collector-agent/server.Version=${{ env.TAG_NAME }}"

0 comments on commit bf04e8d

Please sign in to comment.