From 9fbe1399b7e3a3c3971362f251659d439f68df77 Mon Sep 17 00:00:00 2001 From: grensburg Date: Fri, 1 Dec 2023 07:49:24 +0100 Subject: [PATCH] remove tag from login --- .github/workflows/deploy_testing.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy_testing.yaml b/.github/workflows/deploy_testing.yaml index 1133bb3e..a0139dd5 100644 --- a/.github/workflows/deploy_testing.yaml +++ b/.github/workflows/deploy_testing.yaml @@ -101,7 +101,7 @@ jobs: ssh -o StrictHostKeyChecking=no -T -i private_key ${USER_NAME}@${HOSTNAME} ' # 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" + aws ecr get-login-password --region eu-central-1 | docker login --username AWS --password-stdin "$TESTING_ECR_REGISTRY/$TESTING_ECR_REGISTRY_IMAGE" 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