mirror of
https://github.com/tmaier/docker-compose
synced 2024-11-26 05:47:50 +01:00
Add echos of different stages
This commit is contained in:
parent
d8736a5795
commit
9dc6c3ffc6
@ -4,6 +4,7 @@ set -e
|
|||||||
|
|
||||||
while read -r docker_version compose_version;
|
while read -r docker_version compose_version;
|
||||||
do
|
do
|
||||||
|
echo "# Building image ${image}..."
|
||||||
docker build \
|
docker build \
|
||||||
--build-arg DOCKER_VERSION="${docker_version}" \
|
--build-arg DOCKER_VERSION="${docker_version}" \
|
||||||
--build-arg COMPOSE_VERSION="${compose_version}" \
|
--build-arg COMPOSE_VERSION="${compose_version}" \
|
||||||
|
@ -6,5 +6,6 @@ images=$(docker image ls "${DOCKER_REPO}" --format "{{.Repository}}:{{.Tag}}");
|
|||||||
|
|
||||||
for image in ${images};
|
for image in ${images};
|
||||||
do
|
do
|
||||||
|
echo "# Pushing image ${image}..."
|
||||||
docker image push "${image}"
|
docker image push "${image}"
|
||||||
done
|
done
|
||||||
|
@ -6,6 +6,7 @@ images=$(docker image ls "${DOCKER_REPO}" --format "{{.Repository}}:{{.Tag}}");
|
|||||||
|
|
||||||
for image in ${images};
|
for image in ${images};
|
||||||
do
|
do
|
||||||
|
echo "# Testing image ${image}..."
|
||||||
export IMAGE_NAME=${image};
|
export IMAGE_NAME=${image};
|
||||||
docker-compose -f docker-compose.test.yml --rm run sut
|
docker-compose -f docker-compose.test.yml --rm run sut
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user