feat: replace date tag with git commit SHA and add version tag
Build / build (pull_request) Successful in 15m30s
Build / build (pull_request) Successful in 15m30s
Replace date-based Docker tags with git commit SHA and version from version file. This improves traceability by linking images to specific commits and versions.
This commit is contained in:
@@ -81,6 +81,7 @@ $(DIRS):
|
||||
# Build the image
|
||||
@(cd $(IMAGES_PATH)/$@ && \
|
||||
export DATE=$(DATE_TAG) && \
|
||||
export VERSION=$$(cat version) && \
|
||||
export OS_NAME=$$(echo $@ | cut -d'/' -f1) && \
|
||||
export OS_VERSION_FULL=$$(echo $@ | cut -d'/' -f2) && \
|
||||
export OS_IMAGE=$$(echo $@ | cut -d'/' -f3) && \
|
||||
|
||||
Reference in New Issue
Block a user