Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

release: Docker image has never published — no buildx builder, no GHCR login, upstream Dockerfile

Đang mở
#1,389 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
docker, github-actions, typescript
Lĩnh vực
cloud, devops, release

Hướng nghiên cứu

First resolve whether the project wants a container image. Read docs/RELEASING.md, packages/opencode/script/publish.ts, and packages/opencode/Dockerfile, then inspect the publish-npm job and validate with a local image build or beta tag. Done means the promised image publishes successfully end to end, or the Docker step, Dockerfile, and release documentation are removed consistently.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

docs/RELEASING.md says each release publishes ghcr.io/altimateai/altimate-code:<version>, but the Docker step in packages/opencode/script/publish.ts has failed on every release checked, from v0.10.0 through v0.12.4 (e.g. v0.12.4):

ERROR: failed to build: Multi-platform build is not supported for the docker driver.
Docker publish failed (non-fatal): …

The step is non-fatal and only logs, so releases stay green and no image is published.

The logged error is only the first of several problems:

  1. No multi-platform builder. docker buildx build --platform linux/amd64,linux/arm64 --push runs on the default docker driver. Needs docker/setup-qemu-action and docker/setup-buildx-action in the publish-npm job.
  2. No registry login or permission. There is no docker login ghcr.io, and the job has only contents: read. Needs docker/login-action with the workflow token and packages: write. The publish step's GITHUB_TOKEN env is set to HOMEBREW_TAP_TOKEN, so the login has to be its own step.
  3. The Dockerfile is upstream's. packages/opencode/Dockerfile copies dist/opencode-linux-x64-baseline-musl/bin/opencode and dist/opencode-linux-arm64-musl/bin/opencode and uses ENTRYPOINT ["opencode"]. This repo builds no musl binaries and names them altimate-code, so the build fails even with 1 and 2 fixed. Needs a glibc base (e.g. Debian slim) copying the linux-x64-baseline / linux-arm64 altimate-code binaries by TARGETARCH.
  4. Never run end to end. Validate with a local image build (or a beta tag) before relying on it.

Decision needed first: whether a container image is wanted. If not, remove the step and the Dockerfile, and drop the docker pull lines from docs/RELEASING.md, which currently promise an image that does not exist.

Ngôn ngữ chính
TypeScript
Star
810
Fork
121
Merge trung bình
1 ngày 10 giờ
Pull request đã merge (30 ngày)
89

Chuẩn bị môi trường

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của AltimateAI/altimate-code

Tất cả issue của AltimateAI/altimate-code

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.