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

Enable use of non-master branch as "latest" #40

Closed
hugorodgerbrown opened this issue May 4, 2020 · 1 comment · Fixed by #119
Closed

Enable use of non-master branch as "latest" #40

hugorodgerbrown opened this issue May 4, 2020 · 1 comment · Fixed by #119

Comments

@hugorodgerbrown
Copy link

From the tag_with_ref docs:

If {branch-name} is master then the tag will be latest.

We use a workflow that has separate master and dev branches, with strict rules around the interaction between them. Anything that requires a rebuild of the image (i.e. updating dependencies, rather than source files) must go through dev first. We have set dev as our main branch in Github, and it's locked, with controls around how devs can push to it.

We would like to have the latest tag always applied to the dev branch.

Appreciate we may be outliers here, but if it was possible to add a setting, it would really make a difference for us. I'll dig around myself and if I can see how to do it, will submit a PR.

@JakeWharton
Copy link

With the recent effort to migrate away from master in both git and GitHub this seems more important than ever. I'm currently using trunk for my primary integration branch and struggling with this.

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

Successfully merging a pull request may close this issue.

2 participants