Skip to content

Bug: not uploading arm binaries to [coder-host]/bin #1338

Closed
@bpmct

Description

@bpmct

OS Information

  • OS: Debian, armv7
  • coder --version:
    benpotter@elijo:~/docker-local $ coder --version
    Coder v0.5.4-devel+ad8d9dd Fri May  6 20:45:18 UTC 2022
    https://github.com/coder/coder/commit/ad8d9dd71a3e3672e78d48058f29bbe5b251bdfb

Steps to Reproduce

  1. Start Coder with coder server or coder server --dev
  2. Navigate to http://coder-access-url]/bin
  3. Notice the lack of ARM binaries

Notes

This is likely the culprit:

coder/.goreleaser.yaml

Lines 29 to 39 in ad8d9dd

- id: coder-slim
dir: cmd/coder
ldflags:
["-s -w -X github.com/coder/coder/buildinfo.tag={{ .Version }}"]
env: [CGO_ENABLED=0]
goos: [darwin, linux, windows]
goarch: [amd64]
hooks:
# The "trimprefix" appends ".exe" on Windows.
post: |
cp {{.Path}} site/out/bin/coder-{{ .Os }}-{{ .Arch }}{{ trimprefix .Name "coder" }}

Metadata

Metadata

Assignees

Labels

apiArea: HTTP API

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions