https://pulumi.com logo
#general
Title
# general
s

stale-orange-47562

04/06/2022, 5:37 PM
Hi All, we've started experimenting one issue using pulumi on Github Actions. the pulumi preview and the pulumi up command showing us the following error when it is trigering automatically
Copy code
build_result = await build_image(base_image_name, path_or_build, log_resource, cache_from)
        File "/home/runner/work/platform-infrastructure-iac-state/platform-infrastructure-iac-state/stack/engineering/notification-consumer-delivery/venv/lib/python3.7/site-packages/pulumi_docker/docker.py", line 445, in build_image
          f'No digest available for image {image_name}', log_resource)
      pulumi_docker.docker.ResourceError: No digest available for image ***.dkr.ecr.***.<http://amazonaws.com/hc/notification-consumer-delivery:placeholder|amazonaws.com/hc/notification-consumer-delivery:placeholder>
      error: an unhandled error occurred: Program exited with non-zero exit code: 1
But if we running the pulumi preview and pulumi up commands locally or even using the pulumi docker image, It works. We have the same pulumi_cli and pulumi runtime version on Github Actions and locally. Any idea how to solve it or Any tips for what to look for??
w

witty-pharmacist-42636

04/06/2022, 8:13 PM
There is an issue with pulumi-docker==3.2. You have to downgrade to 3.1 and it will be working just fine.
s

stale-orange-47562

04/06/2022, 8:34 PM
thanks @witty-pharmacist-42636 Rolling back to the
pulumi-docker 3.1.0
version fixes it.
❤️ 1
12 Views