Skip to content

feat(push): deprecate --ignore-push-failures in favor of --ignore-missing - #14354

Merged
glours merged 1 commit into
docker:mainfrom
glours:push-ignore-push-failures-deprecated
Oct 16, 2026
Merged

glours merged 1 commit into
docker:mainfrom
glours:push-ignore-push-failures-deprecated

Conversation

@glours

@glours glours commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

What this PR does

Mark docker compose push --ignore-push-failures as deprecated now that --ignore-missing exists (#14341). The flag still works and prints a deprecation warning, but it is hidden from help and docs. It can no longer be combined with --ignore-missing.

Related issue

Follow up of #14341

(not mandatory) A picture of a cute animal, if possible in relation to what you did
image

…sing

--ignore-push-failures swallows every push error, including
authentication and registry ones, which hides real problems when the
only expectation is that some images were never built. --ignore-missing
now covers that case on its own.

Keep the flag working but mark it deprecated: it prints a warning and
is hidden from help and docs. Make it mutually exclusive with
--ignore-missing so the two cannot be combined ambiguously.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: Guillaume Lours <glours@users.noreply.github.com>
@glours
glours requested review from a team as code owners October 16, 2026 15:55
@glours
glours requested a review from ndeloof October 16, 2026 15:55

@thaJeztah thaJeztah left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM if CI is happy 👍

@docker-agent docker-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assessment: 🟢 APPROVE

@glours
glours merged commit 289d8a0 into docker:main Oct 16, 2026
64 of 66 checks passed
@glours
glours deleted the push-ignore-push-failures-deprecated branch October 16, 2026 16:08
@codecov

codecov Bot commented Oct 16, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

3 participants