mirror of
https://github.com/tmaier/docker-compose
synced 2024-11-26 05:47:50 +01:00
15 lines
301 B
Bash
Executable File
15 lines
301 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
set -e
|
|
|
|
docker image ls "${DOCKER_REPO}" --format "{{.Repository}}:{{.Tag}}"
|
|
|
|
images=$(docker image ls "${DOCKER_REPO}" --format "{{.Repository}}:{{.Tag}}");
|
|
|
|
for image in ${images};
|
|
do
|
|
echo "# Pushing image ${image}..."
|
|
docker image push "${image}"
|
|
echo "Exit code: $?"
|
|
done
|