mirror of
https://github.com/containers/podman.git
synced 2025-06-24 03:08:13 +08:00
Merge pull request #20057 from vrothberg/fix-auto-update-test
fix --authfile auto-update test
This commit is contained in:
@ -647,8 +647,10 @@ EOF
|
|||||||
--password ${PODMAN_LOGIN_PASS} \
|
--password ${PODMAN_LOGIN_PASS} \
|
||||||
$registry
|
$registry
|
||||||
|
|
||||||
run_podman tag $IMAGE $image_on_local_registry
|
# Push the image to the registry and pull it down again to make sure we
|
||||||
run_podman push --tls-verify=false --creds "${PODMAN_LOGIN_USER}:${PODMAN_LOGIN_PASS}" $image_on_local_registry
|
# have the identical digest in the local storage
|
||||||
|
run_podman push --tls-verify=false --creds "${PODMAN_LOGIN_USER}:${PODMAN_LOGIN_PASS}" $IMAGE $image_on_local_registry
|
||||||
|
run_podman pull --tls-verify=false --creds "${PODMAN_LOGIN_USER}:${PODMAN_LOGIN_PASS}" $image_on_local_registry
|
||||||
|
|
||||||
# Generate a systemd service with the "registry" auto-update policy running
|
# Generate a systemd service with the "registry" auto-update policy running
|
||||||
# "top" inside the image we just pushed to the local registry.
|
# "top" inside the image we just pushed to the local registry.
|
||||||
|
Reference in New Issue
Block a user