Doc update - Unable to pull latest tag according to documentation
Per https://quay.github.io/clair/howto/getting_started.html (https://github.com/quay/clair/blob/main/Documentation/howto/getting_started.md) the latest tag should be available. Using podman to pull latest tag results in manifest unknown . Pulling nightly tag pulls successfuly.
I investigated this. The quay.io/projectquay/clair repository has these container image tags:
nightly/nightly-YYYY-MM-DD(pushed daily by nightly.yml cron)4.9.0,4.8.0,4.7.x(pushed by cut-release.yml on tag push)
There is no latest tag. The nightly workflow (nightly.yml) pushes nightly as its default tag, and cut-release.yml pushes the version number. Neither workflow pushes latest.
The getting_started.md docs say "The latest tag tracks the git development branch" but that's incorrect - there's no such tag. The nightly tag is the closest equivalent.
Two options to fix:
- Docs fix: Change the getting_started.md to reference
nightlyinstead oflatest - CI fix: Add
quay.io/${{ steps.setup.outputs.repo }}:latestto the nightly.yml docker/build-push-action tags (the nightly build tracksmain, which is the development branch)
Option 2 is more correct - the latest Docker convention is standard, and it should exist. It's a one-line change to nightly.yml: add quay.io/${{ steps.setup.outputs.repo }}:latest to the tags list. I can open a PR if that approach is preferred.