docker-archlinux-vnc/hooks/push
2020-02-02 18:40:22 -08:00

13 lines
No EOL
302 B
Bash

#!/bin/bash
# original docker push command
echo "overwriting docker push $IMAGE_NAME"
cat "versions.txt" | while read VERSION
do
# The new image tag will include the version of ubuntu
IMAGE_TAG="${DOCKER_REPO}:${VERSION}"
echo "docker push ${IMAGE_TAG}"
docker push ${IMAGE_TAG}
done