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

allows deploying Docker images for staging branch #4864

Merged
merged 2 commits into from
Apr 1, 2024

Conversation

hughy
Copy link
Contributor

@hughy hughy commented Apr 1, 2024

Summary

adds deploy step to deploy to image to github for branch refs

adds rule to deploy docker image on push to staging

Testing Plan

Documentation

Does this change require any updates to the Iron Fish Docs (ex. the RPC API
Reference
)? If yes, link a
related documentation pull request for the website.

[ ] Yes

Breaking Change

Is this a breaking change? If yes, add notes below on why this is breaking and label it with breaking-change-rpc or breaking-change-sdk.

[ ] Yes

@hughy hughy force-pushed the chore/hughy/docker-branch-name-images branch from b624df6 to 9dfc973 Compare April 1, 2024 02:53
adds deploy step to deploy to image to github for branch refs
@hughy hughy force-pushed the chore/hughy/docker-branch-name-images branch from 9dfc973 to 0cc51e0 Compare April 1, 2024 02:53
@hughy hughy marked this pull request as ready for review April 1, 2024 16:38
@hughy hughy requested a review from a team as a code owner April 1, 2024 16:38
@andiflabs
Copy link
Contributor

This will create a lot of Docker images. Will we incur in costs due to this? Do we need a retention policy?

@hughy
Copy link
Contributor Author

hughy commented Apr 1, 2024

This will create a lot of Docker images. Will we incur in costs due to this? Do we need a retention policy?

I think as an open source project we do not incur costs for these builds. Since all of the images use the same tag I don't think a retention policy is necessary.

That said, we could leave 'staging' builds as ad hoc or look at limiting automated builds to only when we do a release.

@hughy hughy merged commit f39cccf into staging Apr 1, 2024
12 checks passed
@hughy hughy deleted the chore/hughy/docker-branch-name-images branch April 1, 2024 20:53
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 this pull request may close these issues.

3 participants