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

Automate block publishing to balenaHub #79

Closed
chrisys opened this issue Apr 21, 2022 · 3 comments · Fixed by #96
Closed

Automate block publishing to balenaHub #79

chrisys opened this issue Apr 21, 2022 · 3 comments · Fixed by #96

Comments

@chrisys
Copy link
Member

chrisys commented Apr 21, 2022

I finally got a chance to try the UI and went to use the block from balenaHub via the bh.cr URL, but noticed it's out of sync with the repo and needs updating.

Can we add the balena build action/workflow to automate the publishing of the block to hub and keep it in sync? Here's an example of another block which is publishing multiple architectures to hub as part of the workflow: https://github.com/balenablocks/browser/blob/master/.github/workflows/balena.yml

@maggie44
Copy link
Contributor

Yes, great idea, thanks for adding the issue.

Is there a way to fix to a specific version when adding a Balena Cloud image to a Dockerfile (FROM bh.cr/maggie0002/balena-device-ui:0.0.1)? I had a tinker with some code over the weeks, which turned in to more than a tinker (as these things can often go). It will be significant, and likely more similar significant changes to come. Would be good if people could lock to a release to avoid breaking changes. Still going to push it of course, but if there isn't any versioning right now, will keep that in mind when pushing changes.

Might be nice to put together a GitHub repository template too for new projects. Both to kick off new projects, with the workflows added, but also for reference.

If still looking to play around, maybe better to have a nose around at the pending pull request: #80

@chrisys
Copy link
Member Author

chrisys commented Apr 21, 2022

Is there a way to fix to a specific version when adding a Balena Cloud image to a Dockerfile

Yeah, but it would be bh.cr/maggie0002/balena-device-ui/0.0.1, more info here.

Thanks for the pointer about that PR!

@maggie44
Copy link
Contributor

maggie44 commented May 19, 2022

I added the action, but at the moment it isn't working with the on tag workflow on this repo. Added an issue for it here: balena-io/deploy-to-balena-action#153

In the meantime I have done a manual push.

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