Skip to content

ci: add manual push-image workflow with 1Password and tmate support#119

Merged
rfay merged 2 commits intomainfrom
20260506_push_image
May 6, 2026
Merged

ci: add manual push-image workflow with 1Password and tmate support#119
rfay merged 2 commits intomainfrom
20260506_push_image

Conversation

@rfay
Copy link
Copy Markdown
Member

@rfay rfay commented May 6, 2026

Summary

  • Adds .github/workflows/push-image.yml triggered by workflow_dispatch only (replaces the old build-image.yml that fired on every push to main)
  • Loads DOCKERHUB_TOKEN from 1Password push-secrets vault via PUSH_SERVICE_ACCOUNT_TOKEN
  • Adds debug_enabled input with tmate session support, matching other workflows in this repo
  • Updates all action versions to current: checkout@v6, setup-buildx-action@v4, login-action@v4, build-push-action@v7

Test plan

  • Trigger via Actions → Push Image → Run workflow and verify image pushes to Docker Hub with correct version tag and latest
  • Optionally: trigger with debug_enabled: true to verify tmate session opens
  • Trigger via CLI: gh workflow run push-image.yml --ref <branch>

🤖 Generated with Claude Code

rfay and others added 2 commits May 6, 2026 10:42
Use OP_SERVICE_ACCOUNT_TOKEN (matching repo convention) instead of
PUSH_SERVICE_ACCOUNT_TOKEN, and add debug_enabled input with tmate
session step.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
OP_SERVICE_ACCOUNT_TOKEN only has access to test-secrets vault.
PUSH_SERVICE_ACCOUNT_TOKEN is the correct token for the push-secrets
vault where DOCKERHUB_TOKEN lives.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@rfay rfay merged commit 7aa7082 into main May 6, 2026
13 checks passed
@rfay rfay deleted the 20260506_push_image branch May 6, 2026 17:06
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.

1 participant