From 97157694be86b3d1a278579d2e1e7a0020ef2fd6 Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Sat, 27 Oct 2018 11:48:32 +0300 Subject: [PATCH] Add logs to Docker build GitHub action --- .github/actions/docker/entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/docker/entrypoint.sh b/.github/actions/docker/entrypoint.sh index c3993ed..ef7f664 100755 --- a/.github/actions/docker/entrypoint.sh +++ b/.github/actions/docker/entrypoint.sh @@ -15,10 +15,11 @@ if [[ "$1" == "build" ]]; then docker build -t ${DOCKER_IMAGE}:${DOCKER_TAG} \ --build-arg REPOSITORY=${GITHUB_REPOSITORY} \ --build-arg SHA=${GITHUB_SHA} -f $2 . + echo "Docker image tagged as ${DOCKER_IMAGE}:${DOCKER_TAG}" fi if [[ "$1" == "push" ]]; then docker push ${DOCKER_IMAGE}:${DOCKER_TAG} + echo "Docker image pushed to ${DOCKER_IMAGE}:${DOCKER_TAG}" fi -echo "Docker image pushed to ${DOCKER_IMAGE}:${DOCKER_TAG}"