17 lines
388 B
Bash
Executable file
17 lines
388 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
. test-lib.sh
|
|
|
|
combinations="rhel7:registry.redhat.io/rhscl/postgresql-10-rhel7
|
|
centos7:docker.io/centos/postgresql-10-centos7
|
|
rhel8:registry.redhat.io/rhel8/postgresql-10
|
|
"
|
|
|
|
for c in $combinations; do
|
|
public_name=$(ct_get_public_image_name "${c%%:*}" postgresql 10)
|
|
[ "$public_name" == "${c#*:}" ]
|
|
done
|
|
|
|
echo "public_image_name test completed successfully."
|