We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f692ebd + 8e1b5e3 commit 16fab88Copy full SHA for 16fab88
internal-functions
@@ -40,7 +40,10 @@ fn-apt-fetch-sha() {
40
return
41
fi
42
43
- echo -n "$(<$PLUGIN_AVAILABLE_PATH/apt/plugin.toml)${DOKKU_IMAGE}${CONTENT}" | sha256sum | cut -d " " -f 1
+ local image_digest
44
+ image_digest="$("$DOCKER_BIN" image inspect --format='{{index .RepoDigests 0}}' "$DOKKU_IMAGE" 2>/dev/null || echo "$DOKKU_IMAGE")"
45
+
46
+ echo -n "$(<$PLUGIN_AVAILABLE_PATH/apt/plugin.toml)${image_digest}${CONTENT}" | sha256sum | cut -d " " -f 1
47
}
48
49
fn-apt-populate-work-dir() {
0 commit comments