Skip to content

chore: simplify CI/CD from 4 jobs to 2#16

Merged
hartmut-co-uk merged 2 commits intomasterfrom
simplify-cicd
Feb 16, 2026
Merged

chore: simplify CI/CD from 4 jobs to 2#16
hartmut-co-uk merged 2 commits intomasterfrom
simplify-cicd

Conversation

@hartmut-co-uk
Copy link
Copy Markdown
Owner

Summary

  • Merge build and build-and-push into a single build job that always builds multi-arch and conditionally pushes based on event type and secret availability
  • Remove no-op report-failure job (GitHub UI already surfaces failures)
  • Add concurrency group to cancel superseded runs on the same branch/PR
  • Guard push against missing secrets (safe for fork PRs)
  • Bump docker/build-push-action v5 → v6
  • Quote ${{ github.sha }} in shell expressions

Push behaviour

Event Pushes to Docker Hub?
Tag push :<tag> + :latest
Push to master/main :master.<short-hash>
PR (with secrets) :pr-<number>.<short-hash>
Feature branch push ❌ build only
Fork PR (no secrets) ❌ build only

Test plan

  • Verify workflow runs on this PR: test passes, multi-arch build succeeds, push produces pr-<number>.<short-hash> tag
  • Verify feature branch pushes only build (no push)
  • Verify master push produces master.<short-hash> tag

🤖 Generated with Claude Code

hartmut-co-uk and others added 2 commits February 16, 2026 00:05
Merge build and build-and-push into a single job that always builds
multi-arch and conditionally pushes based on event type and secret
availability. Remove no-op report-failure job.

- Add concurrency group to cancel superseded runs
- Guard push against missing secrets (fork PRs)
- Bump docker/build-push-action v5 → v6
- Quote ${{ github.sha }} in shell expressions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Feature branch pushes no longer trigger the workflow — only PRs do.
Simplify push-check since all triggers are now push-worthy (only
guard against missing secrets for fork PRs).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@hartmut-co-uk hartmut-co-uk merged commit 21af590 into master Feb 16, 2026
2 checks passed
@hartmut-co-uk hartmut-co-uk deleted the simplify-cicd branch February 16, 2026 00:31
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