From b61237274ceb43d19a3aea19bc37d55c513c5359 Mon Sep 17 00:00:00 2001 From: sergey filyanin Date: Tue, 19 Sep 2023 14:13:59 +0200 Subject: [PATCH] Update Update-testnet.yml --- .github/workflows/Update-testnet.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Update-testnet.yml b/.github/workflows/Update-testnet.yml index cfc58e3b99e..7c1fda79acc 100644 --- a/.github/workflows/Update-testnet.yml +++ b/.github/workflows/Update-testnet.yml @@ -34,4 +34,6 @@ jobs: key: ${{ secrets.VARA_SSH_PRIVATE_KEY }} envs: NEW_IMAGE script: | - echo $NEW_IMAGE + sudo docker-compose -f /home/gear/docker-compose.yaml down + sed -i 's|ghcr.io/gear-tech/node:.*|$NEW_IMAGE|' /home/gear/docker-compose.yaml + sudo docker-compose -f /home/gear/docker-compose.yaml up -d