ORNL / DataFed

A Federated Scientific Data Management System
https://ornl.github.io/DataFed/
Other
18 stars 13 forks source link

Add CI commit hash tag to docker images #962

Open JoshuaSBrown opened 1 month ago

JoshuaSBrown commented 1 month ago

Description

It looks like the image registry is not always being updated with the latest image from the build pipeline even though an entry can be found in the registry the image is missing. This can lead to build pipelines using the so called "latest" image for a branch which may not be the most up to date image. To fix this we can tag each image with the commit hash and use that in a given pipeline. The pipeline should at least fail if the image was not successfully uploaded. That way we don't actually use old images in a new test pipeline.