Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Add An Input To Set Docker Buildx version

未关闭
#57 0 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
docker, github-actions
领域
ci-cd, devops

调研方向

检查 action 的输入定义和 Docker Buildx 设置入口,然后跟踪 provenance 选项如何传递给构建过程。添加一个用于选择 Buildx 版本的输入,并验证设置 provenance: false 后能够生效,从而防止将多平台镜像索引推送到 ECR。

由索引模型根据 Issue 内容生成。

描述

triage

Have a question? Please checkout our Slack Community or visit our Slack Archive.

Slack Community

Describe the Feature

Ability to provide a buildx version so when setting provenance: false it is not ignored.

Expected Behavior

Expect a buildx version to be set so provenance: false is recognized and multiple format image is not pushed to ecr.

Use Case

This Current version of build-push action pushes muilti platform multi-image/image index types to ecr. Due to AWS Lambda not supporting image index artifact type I need to turn off multi image. When I set provenance: false it is ignored because a buildx version is not provided and no default is set. buildx version states unknown

buildx-error

build-push-issue-report

Describe Ideal Solution

A clear and concise description of what you want to happen. If you don't know, that's okay.
Provide an input that sets the buildx version

Alternatives Considered

Explain what alternative solutions or features you've considered.

I have added steps in the workflow that set buildx version before calling the build push action.

CleanShot 2024-01-04 at 09 16 07

Additional Context

Add any other context or screenshots about the feature request here.

Created an issue on docker build-push github repo: https://github.com/docker/build-push-action/issues/1035

主要语言
Dockerfile
星标
14
派生
15
平均合并
8 小时 45 分钟
30 天内合并 PR
1

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

cloudposse/github-action-docker-build-push 的其他 Issue

查看 cloudposse/github-action-docker-build-push 的全部 Issue

相似的 Issue

更多 DevOps Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。