GitHub action vs using podman locally
@alexander-smolyakov 已经在做这个了。
开始于 2023年4月28日。
评估
这个 Issue 还没有评估数据。
描述
https://github.com/federlieb/federlieb/actions/runs/4590469738 - I am trying to use podman on my development machine and have to use docker via GitHub actions. https://code.visualstudio.com/remote/advancedcontainers/docker-options suggests to use "runArgs": [ "--userns=keep-id" ], but it seems docker does not support that, hence the failure of my action.
I have tried setting the podman option with the PODMAN_USERNS environment variable, which the command line option defaults to, according to their documentation, through devcontainer.json remoteEnv, but that does not have the same effect as the command line argument, at least not locally.
I naturally want my devcontainer as well as the CI action to work regardless of whether any given host uses docker or podman. What is the proper way to configure my project accordingly?
- 主要语言
- 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 于 66 天前认领。 未关闭
devcontainers/ci#442 · 已指派 1 人 ·
-
难度 4/5 3-5 天 新手友好度 45/100
devcontainers/ci#437 ·
相似的 Issue
-
submodule-pointer-regression
难度 1/5 1 小时以内 新手友好度 72/100
smith-horn/skillsmith#3061 ·
维护者通常 1 天内回复
-
area: ops type: test
难度 2/5 1-3 小时 新手友好度 79/100
accensa/x402-facilitator-stellar#559 ·
维护者通常 1 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 74/100
cosimochellini/one-piece-zero-spoiler#551 ·
维护者通常 1 天内回复
-
getWatched() omits __proto__ directories when cwd is set可能已有人在做 @maxazure 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 79/100
-
area:web enhancement
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复