clair icon indicating copy to clipboard operation
clair copied to clipboard

Doc update - Unable to pull latest tag according to documentation

Open tkagn opened this issue 9 months ago • 1 comments

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.

tkagn avatar Feb 12 '26 16:02 tkagn

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:

  1. Docs fix: Change the getting_started.md to reference nightly instead of latest
  2. CI fix: Add quay.io/${{ steps.setup.outputs.repo }}:latest to the nightly.yml docker/build-push-action tags (the nightly build tracks main, 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.

cschanhniem avatar Jun 18 '26 22:06 cschanhniem