This commit is contained in:
2025-03-03 20:58:25 +03:00
parent 99b09b368c
commit 79d6b92bb8

View File

@@ -29,11 +29,10 @@ pre_push:
- build - build
stage: pre_push stage: pre_push
before_script: before_script:
- docker rm -f test_container
- apk add curl - apk add curl
script: script:
- echo "Running container to test image" - echo "Running container to test image"
- docker run -d --name test_container -p 5050:5050 $CI_REGISTRY/$CI_PROJECT_PATH:$CI_COMMIT_REF_SLUG - docker run -d --name test_container $CI_REGISTRY/$CI_PROJECT_PATH:$CI_COMMIT_REF_SLUG
- | - |
echo "Waiting for the application to start..." echo "Waiting for the application to start..."
sleep 10 sleep 10