8000 Push latest tag on tag builds by emcniece · Pull Request #784 · cncjs/cncjs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Push latest tag on tag builds #784

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

Merged
merged 1 commit into from
Oct 5, 2022

Conversation

emcniece
Copy link
Contributor
@emcniece emcniece commented Oct 4, 2022

I considered attempting to restrict this to master branch builds only, but it appears that $CIRCLE_BRANCH is empty during the deploy-tag job. Looks like if it's a tag build, then $CIRCLE_TAG is populated instead. I inspected this run.

Tag builds should be safe to tag as latest, I think.

Resolves #741

@emcniece emcniece requested a review from cheton October 4, 2022 06:54
@emcniece
Copy link
Contributor Author
emcniece commented Oct 4, 2022

@cheton should we also be publishing latest on master branch builds? Happy to add that behaviour if so.

@emcniece
Copy link
Contributor Author
emcniece commented Oct 5, 2022

I'll merge this and patch release for now so we can get something in the latest tag.

@emcniece emcniece merged commit 5d704ce into cncjs:master Oct 5, 2022
@emcniece emcniece deleted the fix/docker-push-latest branch October 5, 2022 16:47
@emcniece
Copy link
Contributor Author
emcniece commented Oct 5, 2022

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

Successfully merging this pull request may close these issues.

Error response from daemon: manifest for cncjs/cncjs:latest not found: manifest unknown: manifest unknown
2 participants
0