Skip to content

Commit f096ae5

Browse files
committed
"push with authfile" integration test: don't try to push an empty list
When testing that we can push a manifest list, don't try to push an empty list, which now triggers an error in the libraries. Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
1 parent a4f329c commit f096ae5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/push.bats

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ load helpers
200200
run_buildah push --authfile ${TEST_SCRATCH_DIR}/tmp/test.auth $WITH_POLICY_JSON --tls-verify=false busybox docker://localhost:${REGISTRY_PORT}/buildah/busybox:latest
201201
expect_output --substring "Copying"
202202

203-
run_buildah manifest create localhost:${REGISTRY_PORT}/testmanifest
203+
run_buildah manifest create localhost:${REGISTRY_PORT}/testmanifest busybox
204204
run_buildah manifest push --authfile ${TEST_SCRATCH_DIR}/tmp/test.auth $WITH_POLICY_JSON --tls-verify=false localhost:${REGISTRY_PORT}/testmanifest
205205
expect_output --substring "Writing manifest list to image destination"
206206
}

0 commit comments

Comments
 (0)