mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-11-22 15:42:20 +03:00
Fix docker contrib readme
This commit is contained in:
parent
550c517149
commit
4f747c946b
@ -16,20 +16,20 @@ docker build --build-arg docker_build_date="${docker_build_date}" --build-arg hu
|
||||
# Get docker hurl version
|
||||
|
||||
```
|
||||
docker run --rm hurl:latest --version
|
||||
docker run --rm ghcr.io/orange-opensource/hurl:latest --version
|
||||
```
|
||||
|
||||
# Run docker hurl from STDIN
|
||||
|
||||
```
|
||||
echo -e "GET https://hurl.dev\n\nHTTP/1.1 200" | docker run --rm -i hurl:latest --test --color
|
||||
echo -e "GET https://hurl.dev\n\nHTTP/1.1 200" | docker run --rm -i ghcr.io/orange-opensource/hurl:latest --test --color
|
||||
```
|
||||
|
||||
# Run docker hurl from FILE
|
||||
|
||||
```
|
||||
echo -e "GET https://hurl.dev\n\nHTTP/1.1 200" > /tmp/test.hurl
|
||||
docker run --rm -v /tmp/test.hurl:/tmp/test.hurl hurl:latest --test --color /tmp/test.hurl
|
||||
docker run --rm -v /tmp/test.hurl:/tmp/test.hurl ghcr.io/orange-opensource/hurl:latest --test --color /tmp/test.hurl
|
||||
```
|
||||
|
||||
# Push to github container registry
|
||||
|
Loading…
Reference in New Issue
Block a user