opencontainers / distribution-spec

OCI Distribution Specification
https://opencontainers.org
Apache License 2.0
828 stars 205 forks source link

Build conformance images with semver tags #313

Closed sudo-bmitch closed 2 years ago

sudo-bmitch commented 2 years ago

This is a rewrite of the GHA to do semver based tags, e.g. v1.0.1 would also push v1.0 and v1. This will make it possible for users to run conformance tests against the latest v1 release without needing to track the individual tags or git shas.

Signed-off-by: Brandon Mitchell git@bmitch.net

sudo-bmitch commented 2 years ago

You can see an example of the tags here: https://github.com/sudo-bmitch/distribution-spec/runs/4403232642?check_suite_focus=true#step:5:198

Note, I've disabled the login and push parts of the build for anyone on a fork (so that if they enable GHA they don't deal with errors from missing secrets). I also removed the Go setup in the docker release since we didn't use Go directly in that action.

jdolitsky commented 2 years ago

We will need to test this out with an RC release (doesnt build on main)