Skip to content

ImagePullBackOff Error When Using GitHub Tutorial for Container Apps #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
DanWahlin opened this issue Sep 19, 2022 · 0 comments
Open

Comments

@DanWahlin
Copy link

Please provide us with the following information:

This issue is for a: (mark with an x)

- [X ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Any log messages given by the failure

  • Failed to pull image "ghcr.io/danwahlin/container-apps-store-api-microservice/node-service:sha-ac6a0a4": rpc error: code = Unknown desc = failed to pull and unpack image "ghcr.io/danwahlin/container-apps-store-api-microservice/node-service:sha-ac6a0a4": failed to resolve reference "ghcr.io/danwahlin/container-apps-store-api-microservice/node-service:sha-ac6a0a4": failed to authorize: failed to fetch oauth token: unexpected status: 403 Forbidden
  • Error: ErrImagePull
  • Liveness probe failed: HTTP probe failed with statuscode: 500

Expected/desired behavior

Container App should load the image and then run

OS and Version?

Mac Monterey 12.6

Mention any other details that might be useful

I'm able to run docker pull ghcr.io/danwahlin/container-apps-store-api-microservice/node-service:sha-ac6a0a4 successfully from my local machine. The node-app container app doesn't seem to be able to pull that image though. I see that the container app Image type is Private but the package is public in GitHub.

I changed isPrivateRegistry to true in deploy/main.bicep and it seems to work now. See PR #32.


Thanks! We'll be in touch soon.

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

No branches or pull requests

1 participant