chore: simplify CI/CD from 4 jobs to 2#16
Merged
hartmut-co-uk merged 2 commits intomasterfrom Feb 16, 2026
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
buildandbuild-and-pushinto a singlebuildjob that always builds multi-arch and conditionally pushes based on event type and secret availabilityreport-failurejob (GitHub UI already surfaces failures)concurrencygroup to cancel superseded runs on the same branch/PRdocker/build-push-actionv5 → v6${{ github.sha }}in shell expressionsPush behaviour
:<tag>+:latest:master.<short-hash>:pr-<number>.<short-hash>Test plan
pr-<number>.<short-hash>tagmaster.<short-hash>tag🤖 Generated with Claude Code