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") + }] }, )