docker / docker/bake-action

Add support for dockerignore

Open
#458 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

kind/enhancement status/triage
Dominant language
TypeScript
Stars
301
Forks
43
Avg merge
2d 5h
Merged PRs (30d)
20

Description

Description

Hi 👋

I currently build many containers in https://github.com/home-operations/containers and for the individual apps I include a shared .dockerignore. I am looking for a way to set or override a .dockerignore via the bake GHA, maybe a inline string, or file path? Would that be something you are interested in supporting?

I would be willing to contribute the change if this is accepted.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the bake GHA input handling and how it invokes Docker Buildx Bake. Determine how a shared .dockerignore can be supplied or overridden through an inline string or file path, then verify that the selected form is passed through correctly and document the supported behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, github-actions, typescript
Domain
ci-cd, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.