GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(dockerhub): use OIDC to publish to docker hub when available by JonZeolla · Pull Request #101 · Zenable-io/ai-native-python

Conversation

@JonZeolla

@JonZeolla JonZeolla commented Jul 23, 2026 •
edited by ai-coding-guardrails Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Summary

  • replace separate Docker Hub questions with one subscription choice
  • disable Docker Hub publishing for none
  • use username/PAT authentication for personal
  • use short-lived OIDC authentication for team and business
  • generate documentation and setup guidance only for the selected path

Testing

  • uv run pytest tests/test_cookiecutter.py::test_dockerhub_subscription_prompt tests/test_cookiecutter.py::test_dockerhub_release_authentication --no-cov
  • full pre-commit suite passed during commit

Based on docker/login-action#1048 and Docker OIDC subscription requirements.

PR Description from Zenable

Replace the binary Docker Hub yes/no question with a single dockerhub_subscription choice (none, personal, team, business) that determines the authentication strategy.

  • none: disables Docker Hub publishing entirely
  • personal: uses username/PAT authentication
  • team / business: uses short-lived OIDC authentication
  • Generated documentation, workflow, README, and Taskfile are conditionally rendered based on the selected subscription tier

Testing

  • uv run pytest tests/test_cookiecutter.py::test_dockerhub_subscription_prompt tests/test_cookiecutter.py::test_dockerhub_release_authentication --no-cov
  • Full pre-commit suite passed during commit

Based on docker/login-action#1048 and Docker OIDC subscription requirements.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

ai-coding-guardrails[bot] reacted with eyes emoji
All reactions
  • 👀 1 reaction
@JonZeolla
feat(dockerhub): select authentication by subscription
7fb13fb
ai-coding-guardrails[bot]
ai-coding-guardrails Bot reviewed Jul 23, 2026
View reviewed changes

@ai-coding-guardrails ai-coding-guardrails Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Nice work! 😎

I didn't find anything of concern

Risk: 🟢 Low

Risk analysis

The highest scores are for test_coverage and security_impact. Test coverage is strong with new parametrized tests validating each subscription path, though the OIDC flow isn't fully exercised. Security impact is moderate due to the introduction of new authentication methods (OIDC and PAT-based) which, while following best practices, increase the surface area for credential handling and misconfiguration. The change affects generated project templates rather than runtime code, limiting blast radius and operational risk.

Reviewed with 🤟 by Zenable

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@ai-coding-guardrails ai-coding-guardrails Bot added the zenable/risk:low Zenable assessed this PR as LOW risk. label Jul 23, 2026
@JonZeolla
docs(dockerhub): keep setup out of generated readme
30915ee
@JonZeolla
JonZeolla enabled auto-merge (squash) July 23, 2026 19:18
@JonZeolla JonZeolla changed the title feat(dockerhub): select authentication by subscription feat(dockerhub): use OIDC to publish to docker hub when available Jul 23, 2026
@JonZeolla
JonZeolla disabled auto-merge July 23, 2026 19:22
@JonZeolla
clleanup
57bc0f1
@JonZeolla
JonZeolla enabled auto-merge (squash) July 23, 2026 19:26
@JonZeolla
JonZeolla merged commit 4969496 into main Jul 23, 2026
6 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@JonZeolla
JonZeolla deleted the feat/dockerhub-auth-by-subscription branch July 23, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@ai-coding-guardrails ai-coding-guardrails[bot] ai-coding-guardrails[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

zenable/risk:low Zenable assessed this PR as LOW risk.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@JonZeolla
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.