Skip to content

Commit d1f826c

Browse files
committed
use credentials to check for updates (from private repo)
1 parent ae274a6 commit d1f826c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/container.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188
running_digest=\$(podman image inspect $(podman image inspect \${image_name} --format='{{.ID}}') --format '{{.Digest}}')
189189
latest_digest=\$(skopeo inspect docker://${image} | \
190190
${_ruby} -rjson -e 'puts (JSON.parse(STDIN.read))["Digest"]')
191-
test $? -ne 0 && latest_digest=\$(skopeo inspect --no-creds docker://${image} | \
191+
test $? -ne 0 && latest_digest=\$(skopeo inspect docker://${image} | \
192192
${_ruby} -rjson -e 'puts (JSON.parse(STDIN.read))["Digest"]')
193193
test -z "\${latest_digest}" && exit 0 # Do not update if unable to get latest digest
194194
test "\${running_digest}" = "\${latest_digest}"

0 commit comments

Comments
 (0)