We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 639a0dd + 48e235b commit 2855d57Copy full SHA for 2855d57
.github/ci3.sh
@@ -98,6 +98,11 @@ function check_cache {
98
local cache_name="ci-success-${CI_MODE}-${tree_hash}.tar.gz"
99
# Export for use by ci3-post.sh
100
echo "CI_CACHE_NAME=$cache_name" >> $GITHUB_ENV
101
+ # Skip cache for release builds - they must always produce versioned images
102
+ if [ "$CI_MODE" == "release" ]; then
103
+ echo "Cache disabled for release builds"
104
+ return
105
+ fi
106
if has_label "no-cache"; then
107
export NO_CACHE=1
108
echo "NO_CACHE=$NO_CACHE" >> $GITHUB_ENV
0 commit comments