feat(ci): refactor pipelines — hadolint, PR checks, tag releases, nightly rebuild #9
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?
Summary
Refactor the monolithic
docker-build.yamlinto 4 specialized, independent Gitea Actions workflow files:New workflows
.gitea/workflows/pr.yamlpull_request.gitea/workflows/main.yamlpushtomaster.gitea/workflows/tag.yamlpushtomaster.gitea/workflows/cron.yaml0 0 * * *nightlytagKey changes
docker build/docker pushwith proper multi-platform-ready Buildx workflow usingdocker/metadata-actionfor consistent taggingactions/checkout@df4cb1c0(v6)hadolint/hadolint-action@2332a7b7(v3.3.0)docker/setup-buildx-action@d7f5e7f5docker/login-action@650006c6docker/metadata-action@80c7e94ddocker/build-push-action@f9f3042fanothrNick/github-tag-action@4ed44965(v1.75.0)docker-build.yaml(superseded by the 4 new files).gitlab-ci.yml,Jenkinsfile) left in place for referenceWorkflow details
PR Checks (
pr.yaml):hadolinton the Dockerfiletests/test.shagainst the built imageMain (
main.yaml):lateston master,sha-*)Tag Release (
tag.yaml):patchby default) and pushes av*tag on master pushesNightly Rebuild (
cron.yaml):nightlytag alongside a SHA tag