From 4141b7069ddbafcf23c45be62b1bdffc6c39e067 Mon Sep 17 00:00:00 2001 From: Tom Kerkhove Date: Tue, 30 Apr 2019 08:24:07 +0200 Subject: [PATCH] Improve formatting of --env-file by Docker Hub bot --- deploy/automation/docker-hub/ci/azuredeploy.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/automation/docker-hub/ci/azuredeploy.json b/deploy/automation/docker-hub/ci/azuredeploy.json index 542425bcf..e27f8724d 100644 --- a/deploy/automation/docker-hub/ci/azuredeploy.json +++ b/deploy/automation/docker-hub/ci/azuredeploy.json @@ -51,7 +51,7 @@ "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#", "actions": { "Define_GitHub_comment_text": { - "inputs": "Docker image for this PR was built and is available on [Docker Hub](@{triggerBody()?['repository']?['repo_url']}).\n\nYou can pull it locally via the CLI:\n```shell\ndocker pull @{triggerBody()?['repository']?['repo_name']}:@{triggerBody()?['push_data']?['tag']}\n```\n\nWant to verify the new version? Run it locally:\n```shell\ndocker run -d -p 8999:80 --name promitor-agent-scraper-@{triggerBody()?['push_data']?['tag']} \\\n --env PROMITOR_AUTH_APPID='' \\\n --env-file C:/Promitor/az-mon-auth.creds\\\n --volume C:/Promitor/metrics-declaration.yaml:/config/metrics-declaration.yaml \\\n @{triggerBody()?['repository']?['repo_name']}:@{triggerBody()?['push_data']?['tag']}\n```", + "inputs": "Docker image for this PR was built and is available on [Docker Hub](@{triggerBody()?['repository']?['repo_url']}).\n\nYou can pull it locally via the CLI:\n```shell\ndocker pull @{triggerBody()?['repository']?['repo_name']}:@{triggerBody()?['push_data']?['tag']}\n```\n\nWant to verify the new version? Run it locally:\n```shell\ndocker run -d -p 8999:80 --name promitor-agent-scraper-@{triggerBody()?['push_data']?['tag']} \\\n --env PROMITOR_AUTH_APPID='' \\\n --env-file C:/Promitor/az-mon-auth.creds \\\n --volume C:/Promitor/metrics-declaration.yaml:/config/metrics-declaration.yaml \\\n @{triggerBody()?['repository']?['repo_name']}:@{triggerBody()?['push_data']?['tag']}\n```", "runAfter": { "Determine_GitHub_Issue_Id": [ "Succeeded" @@ -279,4 +279,4 @@ ] } ] -} \ No newline at end of file +}