Fix docker contrib readme

This commit is contained in:
Filipe PINTO 2023-02-02 13:24:57 +01:00 committed by GitHub
parent 550c517149
commit 4f747c946b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,20 +16,20 @@ docker build --build-arg docker_build_date="${docker_build_date}" --build-arg hu
# Get docker hurl version # 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 # 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 # Run docker hurl from FILE
``` ```
echo -e "GET https://hurl.dev\n\nHTTP/1.1 200" > /tmp/test.hurl 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 # Push to github container registry