Skip to content

Do not login to DockerHub if there is no pull secret #12747

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 13, 2025

Conversation

silv-io
Copy link
Member

@silv-io silv-io commented Jun 12, 2025

Motivation

When receiving community contributions on this repository, the trigger pull_request won't add repository secrets.

This means we have to not only ignore Docker Logins in forks which don't have that secret set but also in this repo for cases where they don't exist

Changes

  • Add an additional condition to usages of Docker Login that both secrets need to be available

@silv-io silv-io added the semver: patch Non-breaking changes which can be included in patch releases label Jun 12, 2025
@silv-io silv-io marked this pull request as ready for review June 13, 2025 10:58
Copy link
Contributor

@k-a-il k-a-il left a comment

Choose a reason for hiding this comment

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

Thank you for this quick fix 🚀

Copy link

Test Results (MA/MR) - Preflight, Unit

21 613 tests  ±0   19 958 ✅ ±0   6m 15s ⏱️ -6s
     1 suites ±0    1 655 💤 ±0 
     1 files   ±0        0 ❌ ±0 

Results for commit 39a2de8. ± Comparison against base commit 3bbf944.

Copy link

Test Results - Preflight, Unit

21 613 tests  ±0   19 958 ✅ ±0   6m 19s ⏱️ -41s
     1 suites ±0    1 655 💤 ±0 
     1 files   ±0        0 ❌ ±0 

Results for commit 39a2de8. ± Comparison against base commit 3bbf944.

@silv-io silv-io merged commit 02ad74e into master Jun 13, 2025
35 checks passed
@silv-io silv-io deleted the workflow/no-docker-login-without-secret branch June 13, 2025 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver: patch Non-breaking changes which can be included in patch releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants