From 761c37d55e87381974ec9225446605422ca0306a Mon Sep 17 00:00:00 2001 From: Dinh QUang Date: Mon, 26 Aug 2024 21:32:40 +0700 Subject: [PATCH] fix --- .github/workflows/aws-deploy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/aws-deploy.yml b/.github/workflows/aws-deploy.yml index 80633fb..0161ad0 100644 --- a/.github/workflows/aws-deploy.yml +++ b/.github/workflows/aws-deploy.yml @@ -45,6 +45,9 @@ jobs: echo "$PRIVATE_KEY" > private_key.pem chmod 600 private_key.pem ssh -i private_key.pem -o StrictHostKeyChecking=no ${USER}@${HOST} << EOF + CONTAINER_NAME="${CONTAINER_NAME}" + IMAGE_TAG="${IMAGE_TAG}" + IMAGE="\${CONTAINER_NAME}:\${IMAGE_TAG}" sudo docker images echo $IMAGE EOF