Open umarcor opened 2 years ago
Since https://github.com/hdl/containers/commit/781d60cbf4ab8117c52b406786aa81f6870fe2bc, some images have an explicit version tag, apart from latest
. In order to enable it, an stage needs to be added to the Dockerfile and the build stage needs to create /tmp/hdlc.TOOL.version
. The file is exported to dist
.
See, for example, https://github.com/hdl/containers/commit/2d671136b154eca6fae9b6a49f213198e58401ab.
Currently, images are not versioned explicitly. Each time a workflow is run, the latest/master/main branch/release of the tools are downloaded and built. Images are only pushed when builds and tests are successful.
Users which cannot afford breaking changes can use the image by digest, instead of doing it by name. However, we might improve the usability:
latest
./
as separators, so that each image/tool has all tags available for itself. That is not possible on docker.io, though; only gcr.io and ghcr.io do support hierarchy in image names.