refactor: standardize CI/CD to 4-workflow pattern #11
Reference in New Issue
Block a user
Delete Branch "fix/workflow-standard"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Split the monolithic
docker-build.yamlinto the standard 4-workflow pattern matching the provenperso/htpasswdreference.Changes
.gitea/workflows/docker-build.yaml(legacy single-file workflow).gitea/workflows/pr.yaml— PR Checks (hadolint + build-test on PRs to master).gitea/workflows/main.yaml— Main Release (hadolint + test + build + tag on push to master).gitea/workflows/tag.yaml— Tag Release (hadolint + test + build-push to Docker Hub on tag push).gitea/workflows/cron.yaml— Nightly Rebuild (hadolint + test + build-push on schedule0 0 * * *)Correct SHAs (from htpasswd reference)
actions/checkoutdf4cb1c069e1874edd31b4311f1884172cec0e10(v6)hadolint/hadolint-action2332a7b74a6de0dda2e2221d575162eba76ba5e5(v3.3.0)docker/setup-buildx-actiond7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5(v4)docker/login-action650006c6eb7dba73a995cc03b0b2d7f5ca915bee(v4)docker/metadata-action80c7e94dd9b9319bd5eb7a0e0fe9291e23a2a2e9(v6)docker/build-push-actionf9f3042f7e2789586610d7f5c8f03e5195baf(v7.2.0)anothrNick/github-tag-action4ed44965e0db8dab2b466a16da04aec3cc312fd8(v1.75.0)Workflow breakdown
pr.yamlmain.yamltag.yamlcron.yaml0 0 * * *Note: Image
jcabillot/ttrss, repoweb/docker-ttrss, RELEASE_BRANCHES: master.