Skip to content

Commit

Permalink
Improve formatting of --env-file by Docker Hub bot
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkerkhove authored Apr 30, 2019
1 parent f77ed1b commit 4141b70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deploy/automation/docker-hub/ci/azuredeploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -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='<azure-ad-app-id>' \\\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='<azure-ad-app-id>' \\\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"
Expand Down Expand Up @@ -279,4 +279,4 @@
]
}
]
}
}

0 comments on commit 4141b70

Please sign in to comment.