-
Notifications
You must be signed in to change notification settings - Fork 421
Open
Description
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
- Follow the steps at https://learn.microsoft.com/en-us/azure/container-apps/dapr-github-actions?tabs=bash
- GitHub action should deploy everything successfully (successfully from a GitHub standpoint)
node-app
container app will provision initially but then fail due to error below
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.
pankajagrawal16
Metadata
Metadata
Assignees
Labels
No labels