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"