Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
Update pipeline - docker image (#536)
Krzysztof Pajak7122ed404a4c
diff --git a/.github/workflows/docker-image-pr.yml b/.github/workflows/docker-image-pr.ymlindex 301232411..6579cc340 100644--- a/.github/workflows/docker-image-pr.yml+++ b/.github/workflows/docker-image-pr.yml@@ -45,7 +45,6 @@ jobs:sleep 3done-- name: Trigger the installer via POST requestrun: |echo "Running installation with form-data..."@@ -71,10 +70,19 @@ jobs:run: |echo "Waiting for the application to start..."for i in {1..10}; do- curl -s http://localhost:8080 && echo "Application is up!" && break- echo "Retrying in 3 seconds..."+ RESPONSE=$(curl -s -o /dev/null -w "%{http_code}" http://localhost:8080 || echo "error")+ if [ "$RESPONSE" = "200" ]; then+ echo "Application is up with HTTP 200 response!"+ exit 0+ elif [ "$RESPONSE" = "error" ]; then+ echo "Curl encountered an error. Retrying in 3 seconds..."+ else+ echo "Received HTTP response code: $RESPONSE. Retrying in 3 seconds..."+ fisleep 3done+ echo "Application did not start successfully. Final response code: $RESPONSE"+ exit 1- name: Stop and remove the containerrun: |