Refactor CI pipelines into separate workflows #8
Reference in New Issue
Block a user
Delete Branch "fix/refactor-ci-pipelines"
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?
CI Pipeline Refactor
Split the monolithic
docker-build.yamlinto four modular workflow files for better maintainability and separation of concerns:Changes
pr.yaml— runs on pull requests (lint → build → test)main.yaml— runs on push to master (lint → build → test → push + version bump)tag.yaml— runs on semver tag pushes (lint → build → test → push with versioned tags)cron.yaml— runs daily at midnight (lint → build → test → push + version bump)docker-build.yaml— replaced by the four workflows aboveKey improvements
docker/setup-buildx-actionfor modern BuildKit-based buildsdocker/metadata-actionfor standardized Docker tag generation from git metadatadocker/build-push-actionfor pushing to Docker Hubdocker/login-actionfor registry authenticationanothrNick/github-tag-actionfor automated semantic version bumpingtype=semverpatterns for versioned Docker tagsAll action versions pinned to specific commit SHAs. Cron schedule changed from
30 3 * * 3to0 0 * * *.