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

Bake: add documentation examples on how to access "current target" with bake #21552

Closed
dvdksn opened this issue Dec 2, 2024 · 1 comment
Closed
Assignees
Labels
area/build Relates to Dockerfiles or docker build command lifecycle/stale

Comments

@dvdksn
Copy link
Contributor

dvdksn commented Dec 2, 2024

Bake doesn't have a way to access the current target name as a value. In most cases you could use the matrix feature to work around this.

@dvdksn dvdksn added the area/build Relates to Dockerfiles or docker build command label Dec 2, 2024
@dvdksn dvdksn self-assigned this Dec 2, 2024
@docker-robot
Copy link

docker-robot bot commented Mar 2, 2025

There hasn't been any activity on this issue for a long time.
If the problem is still relevant, mark the issue as fresh with a /remove-lifecycle stale comment.
If not, this issue will be closed in 14 days. This helps our maintainers focus on the active issues.

Prevent issues from auto-closing with a /lifecycle frozen comment.

/lifecycle stale

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build Relates to Dockerfiles or docker build command lifecycle/stale
Projects
None yet
Development

No branches or pull requests

1 participant