Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Oct 30, 2025

The docker-validation CI job was failing because docker/build-push-action@v5 with the buildx driver only stores images in the build cache by default, not in the local Docker daemon where docker run expects to find them.

Changes

  • Added load: true to the Docker build action in .github/workflows/pull-request.yml
    • This loads the built image into the local Docker daemon after building
    • Enables subsequent docker run commands to find the ccapi:test image

Context

The build action was producing this warning:

WARNING: No output specified with docker-container driver. Build result will only remain in the build cache.

The subsequent docker run step then failed with:

Unable to find image 'ccapi:test' locally
docker: Error response from daemon: pull access denied for ccapi, repository does not exist

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Add JWT token and security fixes Fix docker-validation CI job failure - load built image into Docker daemon Oct 30, 2025
Copilot AI requested a review from Chesire October 30, 2025 22:21
@Chesire
Copy link
Owner

Chesire commented Oct 30, 2025

The error I get is

Run docker run -d --name ccapi-test -p 8080:8080
docker run -d --name ccapi-test -p 8080:8080
-e SPRING_PROFILES_ACTIVE=dev
ccapi:test
shell: /usr/bin/bash -e {0}
Unable to find image 'ccapi:test' locally
docker: Error response from daemon: pull access denied for ccapi, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
Run 'docker run --help' for more information
Error: Process completed with exit code 125.

@Chesire Chesire marked this pull request as ready for review October 30, 2025 22:28
@Chesire Chesire merged commit 20903e8 into feature/add-jwt Oct 30, 2025
10 checks passed
@Chesire Chesire deleted the copilot/sub-pr-2-another-one branch October 31, 2025 09:30
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