From 0fd4e319637cb16dea53855a74e966a2bce8a2bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Espi=C3=A9=2ER?= <60436978+remi-espie@users.noreply.github.com> Date: Tue, 7 Mar 2023 16:35:19 +0100 Subject: [PATCH 1/3] Update docker-entrypoint.sh --- docker-entrypoint.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index a51573c..4de9347 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -78,4 +78,6 @@ ${DEPLOYMENT_COMMAND} ${DEPLOYMENT_COMMAND_OPTIONS} pull echo "Command: ${DEPLOYMENT_COMMAND} ${INPUT_ARGS}" ${DEPLOYMENT_COMMAND} ${DEPLOYMENT_COMMAND_OPTIONS} ${INPUT_ARGS} +echo "Remove docker context" +docker context rm staging From 381337889db1113b42dad659ecc597c15b7744f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Espi=C3=A9=2ER?= <60436978+remi-espie@users.noreply.github.com> Date: Tue, 7 Mar 2023 17:23:07 +0100 Subject: [PATCH 2/3] Update action.yml --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 5cd355e..04e874d 100644 --- a/action.yml +++ b/action.yml @@ -32,7 +32,7 @@ inputs: runs: using: docker - image: docker://taptap21/docker-remote-deployment-action:v1.1 + image: 'Dockerfile' branding: From f49d49cca9d9f6efc0725c7f3c5b686c6f9f9c83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Espi=C3=A9=2ER?= <60436978+remi-espie@users.noreply.github.com> Date: Tue, 7 Mar 2023 17:26:43 +0100 Subject: [PATCH 3/3] Update docker-entrypoint.sh --- docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 4de9347..de47c3a 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -79,5 +79,5 @@ echo "Command: ${DEPLOYMENT_COMMAND} ${INPUT_ARGS}" ${DEPLOYMENT_COMMAND} ${DEPLOYMENT_COMMAND_OPTIONS} ${INPUT_ARGS} echo "Remove docker context" -docker context rm staging +docker context rm -f staging