mirror of
https://github.com/phpmyadmin/docker.git
synced 2026-11-06 12:30:34 -04:00
Do not create tags that are missing from the legacy namespace
Only refresh tags that are already published in docker.io/phpmyadmin/phpmyadmin. Publishing new tags there would attract more users to a namespace that is meant to be deprecated, so a tag that only exists in the official image is now skipped with the reason "not published here, not creating it". Co-Authored-By: DeepSeek <noreply@deepseek.com> Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
co-authored by
DeepSeek
parent
d607ea30bc
commit
cd129efa25
@@ -134,9 +134,11 @@ decide() {
|
||||
IFS=$'\t' read -r result_dst_digest result_dst_version result_dst_created <<<"${dst_meta}"
|
||||
fi
|
||||
|
||||
# Only refresh tags that already exist here: publishing new ones would
|
||||
# attract more users to a namespace that is meant to be deprecated
|
||||
if [ -z "${result_dst_digest}" ]; then
|
||||
result_action="copy"
|
||||
result_reason="missing from the target"
|
||||
result_action="skip"
|
||||
result_reason="not published here, not creating it"
|
||||
return 0
|
||||
fi
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
name: Mirror official images
|
||||
|
||||
# Mirrors docker.io/library/phpmyadmin into docker.io/phpmyadmin/phpmyadmin.
|
||||
# Only tags already published there are refreshed, no new tags are created.
|
||||
# See https://github.com/phpmyadmin/docker/issues/363
|
||||
|
||||
permissions:
|
||||
|
||||
Reference in New Issue
Block a user