Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

unexpected unknown property value for "registryServer" #320

Closed
dirien opened this issue Dec 2, 2021 · 4 comments
Closed

unexpected unknown property value for "registryServer" #320

dirien opened this issue Dec 2, 2021 · 4 comments
Assignees
Labels
kind/bug Some behavior is incorrect or out of spec resolution/fixed This issue was fixed
Milestone

Comments

@dirien
Copy link

dirien commented Dec 2, 2021

Hello!

  • Vote on this issue by adding a 馃憤 reaction
  • To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already)

Issue details

When I try to build a docker image with docker hub as registry (i did a docker login before), I get the error message:

 pulumi:pulumi:Stack (jetbrains-gateway-dev):
    error: program failed: waiting for RPCs: unexpected unknown property value for "registryServer"
    exit status 1

Steps to reproduce

_, err := docker.NewImage(ctx, "jetbrains-gateway", &docker.ImageArgs{
			Build: docker.DockerBuildArgs{
				Context: pulumi.String("./container"),
			},
			ImageName: pulumi.String("docker.io/user/iamge:1.0.0"),
		})
		if err != nil {
			return err
		}

Expected: no error message
Actual: error message

@dirien dirien added the kind/bug Some behavior is incorrect or out of spec label Dec 2, 2021
@leezen
Copy link
Contributor

leezen commented Dec 8, 2021

This might be a bug where even though the argument is optional, the component is trying to set the output.

@hagaibarel
Copy link

Seeing the same issue, also in go, pulumi-docker version 3.1.0

@dirien
Copy link
Author

dirien commented Nov 29, 2022

Hi,

Registry:  docker.ImageRegistryArgs{},

Does the trick for me :)

@AaronFriel AaronFriel added the resolution/fixed This issue was fixed label Mar 9, 2023
@AaronFriel
Copy link
Member

This issue should be resolved with the new implementation of the Docker Image resource in v4! See our blog post for more info: https://www.pulumi.com/blog/build-images-50x-faster-docker-v4/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Some behavior is incorrect or out of spec resolution/fixed This issue was fixed
Projects
None yet
Development

No branches or pull requests

6 participants