Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: released binary "kubie-darwin-amd64" is invalid #306

Open
ShotaKitazawa opened this issue Dec 30, 2024 · 0 comments · May be fixed by #307
Open

Bug: released binary "kubie-darwin-amd64" is invalid #306

ShotaKitazawa opened this issue Dec 30, 2024 · 0 comments · May be fixed by #307

Comments

@ShotaKitazawa
Copy link

ShotaKitazawa commented Dec 30, 2024

Description

since v0.23.1, kubie-darwin-amd64 is arm64 binary.

$ file ./kubie-darwin-amd64
./kubie-darwin-amd64: Mach-O 64-bit executable arm64

In .github/workflows/release.yml, it looks no options are specified to build binaries for darwin-amd64.

  • build-macos-amd64:
    runs-on: macos-latest
    steps:
    - uses: actions/checkout@v3
    - uses: actions-rs/toolchain@v1
    with:
    toolchain: stable
    - uses: actions-rs/cargo@v1
    with:
    command: build
    args: --release
    - uses: svenstaro/upload-release-action@v2
    with:
    repo_token: ${{ secrets.GITHUB_TOKEN }}
    file: target/release/kubie
    asset_name: kubie-darwin-amd64
    tag: ${{ github.ref }}

This issue is related to the following probably.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant