Unable to prebuild devcontainer image (error command docker tag)
@chrmarti 已经在做这个了。
开始于 2024年3月1日。
评估
这个 Issue 还没有评估数据。
描述
Error
Error: Dev container build failed: Command failed: docker tag example_devcontainer_app ghcr.io/example/example-devcontainer:latest (exit code: undefined)
An error occurred building the container. Error: Command failed: docker tag example_devcontainer_app ghcr.io/example/example-devcontainer:latest
The error only occurs when trying to push the image, the simplest setup without cacheFrom and push works like a charm.
Setup
.devcontainer/
├── devcontainer.json
├── docker-compose.yaml
└── Dockerfile
build:
name: Build
runs-on: 16cores
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Pre-build dev container image
uses: devcontainers/[email protected]
with:
imageName: ghcr.io/example/example-devcontainer
cacheFrom: ghcr.io/example/example-devcontainer
push: always
- 主要语言
- TypeScript
- 星标
- 499
- 派生
- 101
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
devcontainers/ci 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 68/100
devcontainers/ci#446 ·
-
难度 3/5 1-2 天 新手友好度 55/100
devcontainers/ci#445 ·
-
难度 4/5 3-5 天 新手友好度 45/100
devcontainers/ci#444 · 2 条评论 · 3 个 reaction ·
-
Inputs are wrong in post step when action is called through a nested composite action可能重新可做 @v-Kaniska244 于 60 天前认领,目前没有进行中的 PR。 未关闭
devcontainers/ci#442 · 已指派 1 人 ·
-
难度 4/5 3-5 天 新手友好度 45/100
devcontainers/ci#437 ·
相似的 Issue
-
enhancement good first issue priority: low size: XS
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 88/100
-
难度 1/5 1 小时以内 新手友好度 90/100
streamplace/streamplace#1351 ·
维护者通常 2 天内回复
-
automated issue report
难度 2/5 1-3 小时 新手友好度 66/100
databendlabs/databend-docs#3511 ·
-
automated issue report
难度 2/5 1-3 小时 新手友好度 65/100