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

dockerfile: allow image names/labels from git refs/commits #1569

Open
tonistiigi opened this issue Jul 16, 2020 · 0 comments
Open

dockerfile: allow image names/labels from git refs/commits #1569

tonistiigi opened this issue Jul 16, 2020 · 0 comments
Assignees
Milestone

Comments

@tonistiigi
Copy link
Member

When building from a git repository allow git ref/commit to be used in image name when the user specifies a token that can be replaced. Same as %% is supported atm.

Git labels can be just added automatically when building from git.

This avoids hacks in higher level components like https://github.com/docker/build-push-action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants