I have CI/CD that deploys image with commit hash, so this won’t work:
[build]
image = "my/image:THE_HASH"
How do I set this dynamically using environment variable? Or, any other approach?
I have CI/CD that deploys image with commit hash, so this won’t work:
[build]
image = "my/image:THE_HASH"
How do I set this dynamically using environment variable? Or, any other approach?
You can use fly deploy -i my/image:${HASH}
.