CircleCI-Public / cimg-shared

Shared resources for prototype convenience images
MIT License
12 stars 14 forks source link

Version Environment Variables #38

Open FelicianoTech opened 3 years ago

FelicianoTech commented 3 years ago

We should include the version of the main software as environment variables for each image. For example, for cimg/python:3.9.0 there could be the environment variables:

CIMG_VERSION=3.9.0 CIMG_VERSION_MINOR=3.9 CIMG_VERSION_MAJOR=3

I think we do this in some images but this can/should be standardized across the board.

This is inspired by a CircleCI Discuss post.

wyardley commented 2 years ago

This would be great!