Skip to content

Commit

Permalink
Merge pull request #20057 from vrothberg/fix-auto-update-test
Browse files Browse the repository at this point in the history
fix --authfile auto-update test
  • Loading branch information
openshift-merge-robot authored Sep 20, 2023
2 parents cbfd921 + 1cbe692 commit 370937d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/system/255-auto-update.bats
Original file line number Diff line number Diff line change
Expand Up @@ -647,8 +647,10 @@ EOF
--password ${PODMAN_LOGIN_PASS} \
$registry

run_podman tag $IMAGE $image_on_local_registry
run_podman push --tls-verify=false --creds "${PODMAN_LOGIN_USER}:${PODMAN_LOGIN_PASS}" $image_on_local_registry
# Push the image to the registry and pull it down again to make sure we
# 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
# "top" inside the image we just pushed to the local registry.
Expand Down

0 comments on commit 370937d

Please sign in to comment.