astro-cli icon indicating copy to clipboard operation
astro-cli copied to clipboard

`astro dev init` does not ignore yanked images

Open jedcunningham opened this issue 4 months ago • 0 comments

Runtime images can be yanked if there are significant issues. 3.0-9, based on 3.0.5 was just yanked, but is still the "latest" version.

Astro cli should use the latest non-yanked image, not the absolute latest image.

$ mkdir /tmp/yanked_test
$ cd /tmp/yanked_test
$ astro dev init
Initialized empty Astro project in /tmp/yanked_test
$ cat Dockerfile | head -n 1
FROM astrocrpublic.azurecr.io/runtime:3.0-9

What CLI Version did you experience this bug?

1.35.1

jedcunningham avatar Aug 26 '25 04:08 jedcunningham