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

ci: only push to dockerhub on git tag with additional 'latest' tag #75

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

paoloyx
Copy link
Member

@paoloyx paoloyx commented Jul 2, 2024

As title, for every docker hub image that we push the workflow has been modified so that:

  • We only build the docker image on main branch pushes
  • In case of a git tag:
    • We push a docker image tagged with the ref_name of the git tag i.e. v0.8.2
    • We push a docker image tagged with latest tag

The idea is that, on Docker Hub, the latest tag is always pushed/associated to a "git" tag.

We must merge this one only after we merge radicalbit/radicalbit-github-workflows#19

@paoloyx paoloyx changed the title [WIP] ci: only push to dockerhub on git tag with additional 'latest' tag ci: only push to dockerhub on git tag with additional 'latest' tag Jul 3, 2024
@paoloyx paoloyx merged commit 509c2b2 into main Jul 3, 2024
5 checks passed
@paoloyx paoloyx deleted the update-dockerhub-latest-publish-policy branch July 3, 2024 07:42
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.

None yet

2 participants