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

Add An Input To Set Docker Buildx version

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

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
docker, github-actions
Lĩnh vực
ci-cd, devops

Hướng nghiên cứu

Kiểm tra các định nghĩa input của action và entry point thiết lập Docker Buildx, sau đó theo dõi cách tùy chọn provenance được truyền vào build. Thêm một input để chọn phiên bản Buildx và xác minh rằng việc đặt provenance: false được áp dụng và ngăn không cho một image index đa nền tảng được push lên ECR.

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

Mô tả

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

Ngôn ngữ chính
Dockerfile
Star
14
Fork
15
Merge trung bình
8 giờ 45 phút
Pull request đã merge (30 ngày)
1

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

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 cloudposse/github-action-docker-build-push

Tất cả issue của cloudposse/github-action-docker-build-push

Issue tương tự

Thêm issue về DevOps

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.