hdl / containers

Building and deploying container images for open source electronic design automation (EDA)
https://hdl.github.io/containers/
Apache License 2.0
107 stars 25 forks source link

Versioning/tagging of container images #53

Open umarcor opened 2 years ago

umarcor commented 2 years ago

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:

umarcor commented 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.