From 025319872b3e7686ab669c55575c7a61bb37ea51 Mon Sep 17 00:00:00 2001 From: grensburg Date: Thu, 30 Nov 2023 15:02:41 +0100 Subject: [PATCH] test hardcoded --- .github/workflows/deploy_testing.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy_testing.yaml b/.github/workflows/deploy_testing.yaml index c8824412..1133bb3e 100644 --- a/.github/workflows/deploy_testing.yaml +++ b/.github/workflows/deploy_testing.yaml @@ -102,7 +102,10 @@ jobs: # Now we have got the access of EC2 and we will start the deploy . aws ecr get-login-password --region eu-central-1 | docker login --username AWS --password-stdin "$TESTING_ECR_REGISTRY/$TESTING_ECR_REGISTRY_IMAGE:$GITHUB_REF_NAME" - docker pull "$TESTING_ECR_REGISTRY/$TESTING_ECR_REGISTRY_IMAGE:latest" + docker pull 127163565383.dkr.ecr.eu-central-1.amazonaws.com/openeo-dev-ec2:latest + # stop and remove all containers + docker ps -aq | xargs docker stop | xargs docker rm + docker run -p 8000:8000 -d --env-file .env 127163565383.dkr.ecr.eu-central-1.amazonaws.com/openeo-dev-ec2:latest '