Compare commits

...

2 Commits

Author SHA1 Message Date
247aa96d19 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
2026-03-14 10:53:12 +02:00
24e439558f Refactored to fix yaml syntax error 2026-03-14 10:52:19 +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"