Skip to content

Updated the PAT (which was my personal token) to an OAT (which is from agentcatalog)#239

Merged
derekmisler merged 2 commits into
mainfrom
update-pat-to-oat
Jun 11, 2026
Merged

Updated the PAT (which was my personal token) to an OAT (which is from agentcatalog)#239
derekmisler merged 2 commits into
mainfrom
update-pat-to-oat

Conversation

@derekmisler

@derekmisler derekmisler commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Summary

Replaces personal access token (PAT) authentication with organization access token (OAT) from agentcatalog for Docker Hub operations. Removes the Docker Hub README upload step and updates Slack notifications to use OAT-based API key from SSM.

Changes

  • Docker Hub authentication: Updated HUB_USER/HUB_PAT secrets to HUB_ORG/HUB_OAT in the release workflow
  • Removed Docker Hub README upload: Deleted the step that used PAT to authenticate and update repository metadata via Docker Hub API
  • Slack notifications: Changed to use ANTHROPIC_API_KEY_FROM_SSM environment variable instead of direct secret reference
  • Environment protection: Added environment: release to the release job for additional security controls

Test plan

Verify the release workflow runs successfully with the new OAT credentials and that Slack notifications are sent with the SSM-sourced API key.

@derekmisler derekmisler self-assigned this Jun 11, 2026

@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: 🟡 NEEDS ATTENTION

Comment thread .github/workflows/release.yml
@derekmisler
derekmisler requested a review from docker-agent June 11, 2026 17:06
docker-agent

This comment was marked as outdated.

@derekmisler
derekmisler requested a review from docker-agent June 11, 2026 17:09

@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: 🟡 NEEDS ATTENTION

This PR correctly migrates Docker Hub authentication from a personal PAT to an organization OAT, removes the README upload step, and adds environment: release to publish-agent. Key validations:

  • Anthropic API key change (env.ANTHROPIC_API_KEY_FROM_SSM): Safesetup-credentials calls core.setSecret() before core.exportVariable(), so the value is masked in logs before the step that uses it runs.
  • docker login --username "${HUB_ORG}": Correct — Docker Hub OAT documentation specifies using the org name as the username with an OAT as the password.

One hardening gap: the notify job was not given environment: release protection alongside publish-agent, despite consuming credentials from the same ./setup-credentials action.

Comment thread .github/workflows/release.yml
@derekmisler
derekmisler merged commit e65cc97 into main Jun 11, 2026
18 checks passed
@derekmisler
derekmisler deleted the update-pat-to-oat branch June 11, 2026 17:25
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