Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] set build context directory #88

Open
pfeifferj opened this issue Aug 3, 2023 · 1 comment
Open

[FEATURE] set build context directory #88

pfeifferj opened this issue Aug 3, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@pfeifferj
Copy link

Is your feature request related to a problem? Please describe.

The following scenario seems not to be supported as of yet:

Containerfile + artifacts in a build directory

.
├── build
│   ├── Containerfile
│   └── setup.sh

Containerfile copying artifact from the build directory

(...)
COPY setup.sh .
(...)

The current setup seems to only query the root directory, rather than the build directory:

error building at STEP "COPY setup.sh .": checking on sources under "/home/runner/work/<repo-name>/<repo-name>": copier: stat: "/setup.sh": no such file or directory

Describe the solution you'd like

Add an option to set a build context directory

Describe alternatives you've considered

Additional context

@travier
Copy link

travier commented Nov 17, 2023

This is the push action. You want https://github.com/redhat-actions/buildah-build which has the context option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants