Skip to content

CI: fix failing docker workflow auth and image publish path - #4

Open
mrmikeymarks with Copilot wants to merge 3 commits into
mainfrom
copilot/fix-failing-github-actions-docker
Open

CI: fix failing docker workflow auth and image publish path#4
mrmikeymarks with Copilot wants to merge 3 commits into
mainfrom
copilot/fix-failing-github-actions-docker

Conversation

Copilot AI commented Aug 14, 2026

Copy link
Copy Markdown

Summary

The docker GitHub Actions job failed at registry login due to missing Docker Hub credentials (Username and password required). This updates the main-branch Docker workflow to authenticate and publish via GHCR using GITHUB_TOKEN, and restores deterministic image traceability with a SHA tag.

Changelog

  • Added:

    • Workflow-level permissions for package publish (packages: write) and read access (contents: read)
    • GHCR workflow env defaults:
      • REGISTRY: ghcr.io
      • IMAGE_NAME: ${{ github.repository }}
    • Commit-SHA image tagging alongside latest
  • Changed:

    • Registry login from Docker Hub credentials to GHCR auth:
      - uses: docker/login-action@v3
        with:
          registry: ${{ env.REGISTRY }}
          username: ${{ github.actor }}
          password: ${{ secrets.GITHUB_TOKEN }}
    • Image output target to ghcr.io/<owner>/<repo>
  • Fixed:

    • docker job failure in run/job 31763194341 / 94653917863 caused by missing vars.DOCKER_USER / secrets.DOCKER_PAT
  • Removed:

    • Buildx cloud driver/endpoint override from the workflow

Testing

How were these changes tested?

  • Tested locally
  • Tested with Docker image

Copilot AI and others added 2 commits August 14, 2026 02:20
Co-authored-by: mrmikeymarks <153601563+mrmikeymarks@users.noreply.github.com>
Co-authored-by: mrmikeymarks <153601563+mrmikeymarks@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job 'docker' CI: fix failing docker workflow auth and image publish path Aug 14, 2026
Copilot AI requested a review from mrmikeymarks August 14, 2026 02:22
@mrmikeymarks
mrmikeymarks marked this pull request as ready for review August 14, 2026 02:23
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