ci: publish :dev on main, :main + :vA.B.C on release#20
Merged
Conversation
- ci-cd: build/push the Docker Hub image as :dev on pushes to main (was :main). Drop the dev-branch/tag/release triggers and per-branch tag logic; PRs build+test without pushing. Trivy scans :dev. - release-please: on release_created, build and push BOTH mobiera/<repo>:main (stable) and the versioned :vA.B.C tag (verbatim release tag). Same policy as the ghcr adapters, adapted for Docker Hub.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Aligns CI/CD with the pm-model tagging policy, adapted for Docker Hub (
mobiera/stats).Changes
mainbuild and pushmobiera/stats:dev(was:main). Removeddev-branch/tag/releasetriggers and the per-branch "Set image tag"/"Log tag info" steps. PRs build + test without pushing. Trivy scans:dev.release_created, build and push bothmobiera/stats:main(stable) and the versionedmobiera/stats:vA.B.Ctag.Policy
main->:dev:main+:vA.B.CDocker Hub
IMAGEand the existing Maven/Docker build steps are preserved. YAML validated.