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 pre-release tag for published images #117

Merged
merged 12 commits into from
Aug 2, 2024
Merged

Conversation

AdrianDAlessandro
Copy link
Collaborator

Release tagging

This PR adapts the release workflow so that the docker containers will be tagged with latest or pre-release depending on if the release is tagged as such. It also adds a stable tag to any non-pre-release that is released from the main branch. This is because it's possible to make latest releases from any branch.

You can see the pre-release from this branch here: https://github.com/ImperialCollegeLondon/gridlington-vis/releases/tag/v0.3.3-beta

And you can see the pre-release tag has bee successfully applied to v0.3.3-beta here https://github.com/ImperialCollegeLondon/gridlington-vis/pkgs/container/gridlington-vis

It also ensures the release workflow only runs once instead of 3 times as it was doing before.

Helper scripts

There are two new helper scripts to run the system and one changed one:

  • run_stable.sh - changed to get the image tagged as stable
  • run_pre_release.sh - gets the image tagged as pre-release
  • run_version.sh - gets the image tagged with the version specified. Example usage: bash run_version.sh v0.3.2

@AdrianDAlessandro AdrianDAlessandro self-assigned this Aug 2, 2024
@AdrianDAlessandro AdrianDAlessandro merged commit c69ca6e into main Aug 2, 2024
9 checks passed
@AdrianDAlessandro AdrianDAlessandro deleted the pre-release-tag branch August 2, 2024 15:07
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.

2 participants