HomePhorge
Diffusion kolab 25c963cd7015

Always pin specific git refs when building an image

Description

Always pin specific git refs when building an image

If we don't we e.g. build the "master" ref, which will never update,
because podman caches the layer. Even if we rebuild with pinning,
another rebuild with the default "master" ref will revive the outdated cache entry and revert
to the old state, so the only way to actually update the image would be
to rebuild with --no-cache or by removing the image.

Looking up the git-refs on every build is of course slightly slower, but
shouldn't pose a problem.

Details

Provenance
mollekopfAuthored on Aug 7 2024, 11:30 AM
mollekopfPushed on Aug 7 2024, 12:17 PM
Parents
rK9afd5eb982e2: Just use the update.sh script for source code updates
Branches
Unknown
Tags
Unknown
Build Status
Buildable 48417