Skip to content

ci: publish :dev on main, :main + :vA.B.C on release#20

Merged
mjfelis merged 1 commit into
mainfrom
ci/dev-on-main-release-tags
Jun 3, 2026
Merged

ci: publish :dev on main, :main + :vA.B.C on release#20
mjfelis merged 1 commit into
mainfrom
ci/dev-on-main-release-tags

Conversation

@mjfelis

@mjfelis mjfelis commented Jun 3, 2026

Copy link
Copy Markdown
Member

Aligns CI/CD with the pm-model tagging policy, adapted for Docker Hub (mobiera/stats).

Changes

  • ci-cd.yml: pushes to main build and push mobiera/stats:dev (was :main). Removed dev-branch/tag/release triggers and the per-branch "Set image tag"/"Log tag info" steps. PRs build + test without pushing. Trivy scans :dev.
  • release-please.yml: on release_created, build and push both mobiera/stats:main (stable) and the versioned mobiera/stats:vA.B.C tag.

Policy

  • push to main -> :dev
  • GitHub release -> :main + :vA.B.C

Docker Hub IMAGE and the existing Maven/Docker build steps are preserved. YAML validated.

- 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.
@mjfelis mjfelis merged commit 165d855 into main Jun 3, 2026
4 checks passed
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.

1 participant