mirror of
https://github.com/siderolabs/talos.git
synced 2025-08-07 07:07:10 +02:00
19 lines
303 B
Bash
Executable File
19 lines
303 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
DEFAULT_REPO="autonomy"
|
|
|
|
REPO="${1}"
|
|
TAG="${2}"
|
|
|
|
|
|
images=( trustd proxyd blockd osd talos )
|
|
for i in ${images[@]}; do
|
|
if [ "${REPO}" != "${DEFAULT_REPO}" ]; then
|
|
docker tag ${DEFAULT_REPO}/${i}:${TAG} ${REPO}/${i}:${TAG}
|
|
fi
|
|
docker push ${REPO}/${i}:${TAG}
|
|
done
|
|
|