icy-controller-6092
10/02/2025, 6:20 AMDOCKER_REGISTRY_PASS and DOCKER_REGISTRY_USER but they dont work unless you add this config
config:
docker:registryAuth:
- address: <http://ghcr.io|ghcr.io>
im trying to move completely away from configuring providers in stacks and switch to env vars. is there a workaround here?
not sure why it needs address because the name im passing to getRegistryImage is fully-qualified to ghcr.iomodern-spring-15520
10/02/2025, 1:55 PMconst ghcrProvider = new docker.Provider("ghcr", {
registryAuth: [
{ address: "<http://ghcr.io|ghcr.io>" },
],
disableDockerDaemonCheck: true, });modern-spring-15520
10/02/2025, 1:57 PMnot sure why it needs address because the name im passing toYou could create a feature request. https://github.com/pulumi/pulumi/issuesis fully-qualified to ghcr.iogetRegistryImage
icy-controller-6092
10/03/2025, 3:59 AMnew Resource and forget to add the provider option
then you end up in a little speed bump where the deploy fails and the error is never a straightforward "you forgot to use the in-code provider" it'll be something that you need to work backwards from to realize that the wrong provider was used and that can take some time depending on the exact error message, & how long it's been since you last had to debug the same issue