From 0d9785e1d5cc9a43627e627698f8d4f483e017ec Mon Sep 17 00:00:00 2001 From: sfamarprakash Date: Wed, 6 Dec 2023 17:25:02 +0530 Subject: [PATCH] docker push uncomment --- .github/workflows/docker-ci.yaml | 1 + scripts/docker-build-tag-and-push.sh | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-ci.yaml b/.github/workflows/docker-ci.yaml index b49d799..5dadce5 100644 --- a/.github/workflows/docker-ci.yaml +++ b/.github/workflows/docker-ci.yaml @@ -33,5 +33,6 @@ jobs: run: | export IMAGE_TAG=$(cat version.json | jq -r .version) ./scripts/docker-build-tag-and-push.sh + # - name: docker-compose build # run: docker-compose build diff --git a/scripts/docker-build-tag-and-push.sh b/scripts/docker-build-tag-and-push.sh index 39a9e3d..54cd4a3 100755 --- a/scripts/docker-build-tag-and-push.sh +++ b/scripts/docker-build-tag-and-push.sh @@ -29,7 +29,7 @@ docker-compose -f $DOCKER_COMPOSE_FILE build printf "\nTagging image $IMAGE_NAME:$IMAGE_TAG...\n" docker tag sourcefuse/sourcefuse-backstage:latest $IMAGE_NAME:$IMAGE_TAG -# printf "\nPushing $IMAGE_NAME:$IMAGE_TAG to ECR...\n" -# docker push $IMAGE_NAME:$IMAGE_TAG +printf "\nPushing $IMAGE_NAME:$IMAGE_TAG to ECR...\n" +docker push $IMAGE_NAME:$IMAGE_TAG -# echo "::set-output name=image::$IMAGE_NAME:$IMAGE_TAG" +echo "::set-output name=image::$IMAGE_NAME:$IMAGE_TAG"