From b755df59edbac418f1d52458d10b0802d23d8a70 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <27513732@qq.com> Date: Mon, 4 Nov 2024 16:53:10 +0800 Subject: [PATCH] update apphub install --- apphub/src/external/portainer_api.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apphub/src/external/portainer_api.py b/apphub/src/external/portainer_api.py index 66f0e773..5da9c4ed 100755 --- a/apphub/src/external/portainer_api.py +++ b/apphub/src/external/portainer_api.py @@ -216,6 +216,10 @@ class PortainerAPI: "repositoryAuthentication": True, "RepositoryUsername": usr_name, "RepositoryPassword": usr_password, + "env":[{ + "name": "DEPLOY_TIME", + "value": "-"+datetime.now().strftime("%Y%m%d%H%M%S") + }] }, )