Adjust tagging to enforce explicit pre-release opt-in
I rewound to commit 09c342c555 to test this and verify that `postgres:13` would go away (and only `postgres:13-rc1` would remain).
This commit is contained in:
parent
38841304dd
commit
dba8ec0bf9
|
|
@ -80,8 +80,14 @@ for version in "${versions[@]}"; do
|
|||
versionAliases+=( $fullVersion )
|
||||
fullVersion="${fullVersion%[.-]*}"
|
||||
done
|
||||
# skip unadorned "version" on prereleases: https://www.postgresql.org/developer/beta/
|
||||
# - https://github.com/docker-library/postgres/issues/662
|
||||
# - https://github.com/docker-library/postgres/issues/784
|
||||
case "$pgdgVersion" in
|
||||
*alpha* | *beta*| *rc*) ;;
|
||||
*) versionAliases+=( $version ) ;;
|
||||
esac
|
||||
versionAliases+=(
|
||||
$version
|
||||
${aliases[$version]:-}
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue