Merge pull request 'Refactored to fix yaml syntax error' (#73) from test into main
Some checks failed
continuous-integration/drone Build encountered an error

Reviewed-on: #73
This commit was merged in pull request #73.
This commit is contained in:
2026-03-14 10:53:12 +02:00

View File

@@ -133,13 +133,8 @@ steps:
from_secret: ssh_prod_host
settings:
script:
# 1. Create a directory for a temporary docker config
- mkdir -p C:\Temp\docker-config
# 2. Force Docker to use an empty (no-op) credential store
- echo '{"credsStore": ""}' > C:\Temp\docker-config\config.json
# 3. Run all docker commands pointing to this config
- docker --config C:\Temp\docker-config pull khwezi/webapitest:latest
- 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"