docker-archlinux-vnc/hooks/push
2020-02-02 18:29:31 -08:00

13 lines
No EOL
305 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