Fixed yaml syntax error
This commit is contained in:
@@ -141,7 +141,7 @@ steps:
|
||||
# - docker --config C:\Temp\docker-config stop webapi 2>NUL || echo "Container not running"
|
||||
# - docker --config C:\Temp\docker-config rm webapi 2>NUL || echo "Container not found"
|
||||
# - docker --config C:\Temp\docker-config run -d --name webapi --restart unless-stopped -e ASPNETCORE_ENVIRONMENT=Production -p 4001:8081 khwezi/webapitest:latest
|
||||
- - powershell -Command "if (!(Test-Path 'C:\Temp\docker-config')) { New-Item -Path 'C:\Temp\docker-config' -ItemType Directory }"
|
||||
- powershell -Command "if (!(Test-Path 'C:\Temp\docker-config')) { New-Item -Path 'C:\Temp\docker-config' -ItemType Directory }"
|
||||
- powershell -Command "Set-Content -Path 'C:\Temp\docker-config\config.json' -Value '{\"credsStore\": \"\"}'"
|
||||
- powershell -Command "docker --config C:\Temp\docker-config pull khwezi/webapitest:latest"
|
||||
- powershell -Command "docker --config C:\Temp\docker-config stop webapi; exit 0"
|
||||
|
||||
Reference in New Issue
Block a user