chore: add helper script for pushing images (#233)
This commit is contained in:
parent
a2d079e805
commit
d379fb213e
18
hack/push.sh
Executable file
18
hack/push.sh
Executable file
@ -0,0 +1,18 @@
|
||||
#!/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
|
||||
|
Loading…
x
Reference in New Issue
Block a user