Skip to content

Fix Docker CI: upgrade action versions to resolve push scope failure#249

Merged
Marketen merged 2 commits into
mainfrom
copilot/fix-failing-github-actions-job
Jul 2, 2026
Merged

Fix Docker CI: upgrade action versions to resolve push scope failure#249
Marketen merged 2 commits into
mainfrom
copilot/fix-failing-github-actions-job

Conversation

Copilot AI commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

The docker CI job was failing at push time with insufficient_scope: authorization failed from Docker Hub. This happens when older Docker action versions (login-action@v2, build-push-action@v3) are used with Docker Hub's Fine-Grained Personal Access Tokens (FGPATs), which require proper OAuth scope negotiation that only newer action versions support.

push_master.yml

  • Add actions/checkout@v4 (required for local build context with newer build-push-action)
  • docker/login-action v2 → v3 — fixes FGPAT scope negotiation (root fix)
  • docker/build-push-action v3 → v6 — fixes auth token handling at push time (root fix)
  • docker/setup-qemu-action v2 → v3, docker/setup-buildx-action v2 → v3
  • Add context: .

release.yml

  • Same action version upgrades (was on even older v1 actions)
  • Add actions/checkout@v4
  • Replace deprecated ##[set-output name=...;] syntax with echo "..." >> $GITHUB_OUTPUT

- push_master.yml: add actions/checkout@v4, upgrade docker actions
  (setup-qemu v2→v3, setup-buildx v2→v3, login v2→v3,
  build-push v3→v6), add context: .
- release.yml: add actions/checkout@v4, upgrade docker actions
  (setup-qemu v1→v3, setup-buildx v1→v3, login v1→v3,
  build-push v2→v6), add context: ., fix deprecated set-output syntax
Copilot AI changed the title [WIP] Fix failing GitHub Actions job 'docker' Fix Docker CI: upgrade action versions to resolve push scope failure Jul 2, 2026
Copilot AI requested a review from Marketen July 2, 2026 17:40
@Marketen Marketen marked this pull request as ready for review July 2, 2026 17:42
@Marketen Marketen merged commit 0481075 into main Jul 2, 2026
4 checks passed
@Marketen Marketen deleted the copilot/fix-failing-github-actions-job branch July 2, 2026 17:44
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.

2 participants