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

chore: add tagging for docker images #40

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Paul-weqe
Copy link
Member

Docker images currently only have :latest tag

latest nightly update has new clippy rules.
Implemented here.

Signed-off-by: Paul Wekesa <[email protected]>
@@ -73,5 +73,8 @@ jobs:
password: ${{secrets.GITHUB_TOKEN}}
- name: Build and push container image
run: |
docker build . -f docker/Dockerfile --tag ghcr.io/holo-routing/holo:latest
docker build . -f docker/Dockerfile --tag ghcr.io/holo-routing/holo:latest ghcr.io/holo-routing/holo:0.6.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would cause all CI runs on master to update the v0.6.0 image as well.

It might be easier to push release versions manually. If we want to automate this via CI, we'll need to check if the git commit has an associated tag. Then, if it does, the CI should push a docker image tagged with that version. If not, the CI should default to using the holo:latest tag.

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