From fc8a8cba778beda9cb16cd2f71811030a72e872a Mon Sep 17 00:00:00 2001 From: cdryzun Date: Thu, 24 Aug 2023 15:47:04 +0800 Subject: [PATCH] update --- .gitea/workflows/ci.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index b0c12dc..bc62761 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -30,8 +30,7 @@ jobs: export ATTRIBUTES='{ "git_url": "https://git.treesir.pub/demoTest/simple-web-service", "git_branch": "main", "git_auth": false, "registry_auth": true, "registry_username": "yangzun", "registry_password": "${{ secrets.CI_REGISTRY_PASSWORD }}", "image": "yangzun/simple-web-service:${{ github.sha }}", "namespace": "default", "name": "simple-web-service", "ports": [8080] }' # test - echo $ATTRIBUTES - + echo "$ATTRIBUTES" printenv # Setup CLI config @@ -46,14 +45,14 @@ jobs: ./walrus service create \ --name simple-web-service \ --template '{"name":"deploy-source-code", "version":"v0.0.1"}' \ - --attributes \."${ATTRIBUTES}"\. \ + --attributes "${ATTRIBUTES}" \ -d # Upgrade deploy if [ ! $(echo $?) -eq '0' ];then ./walrus service upgrade simple-web-service \ --template '{"name":"deploy-source-code", "version":"v0.0.1"}' \ - --attributes \."${ATTRIBUTES}"\. + --attributes "${ATTRIBUTES}" fi \ No newline at end of file