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

Support Wildcard targets for COPY #3966

Closed
idodod opened this issue Apr 2, 2024 · 1 comment
Closed

Support Wildcard targets for COPY #3966

idodod opened this issue Apr 2, 2024 · 1 comment
Assignees
Labels
type:proposal A proposal for a new feature

Comments

@idodod
Copy link
Contributor

idodod commented Apr 2, 2024

Use case

We recently introduced support of wildcards in a target path when using BUILD on a target to ease execution of targets in a monorepo (See #3661).
It can be useful to do the same for COPY, e.g. :

VERSION 0.8

test:
    FROM alpine
    COPY --dir ./wildcard-build/*+get-files/* .

Expected Behavior

The behavior should be the same as it was implemented for BUILD

Note that if the different targets save an artifact to the same file/directory, the artifact may overwrite each other.
For this command to. be effective, the artifact needs to be saved in a different path.

@idodod idodod added the type:proposal A proposal for a new feature label Apr 2, 2024
idodod added a commit that referenced this issue Apr 9, 2024
@idodod idodod self-assigned this Apr 10, 2024
@idodod
Copy link
Contributor Author

idodod commented Apr 10, 2024

will be included in next release (v0.8.8)

@idodod idodod closed this as completed Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:proposal A proposal for a new feature
Projects
Archived in project
Development

No branches or pull requests

1 participant