1
0
mirror of https://github.com/drwetter/testssl.sh.git synced 2025-05-15 20:56:04 +02:00

Add minimal doc for GHCR

This commit is contained in:
Dirk Wetter 2025-04-06 18:27:37 +02:00
parent be9a85c1f7
commit ac0419eaad
2 changed files with 11 additions and 4 deletions

@ -28,15 +28,15 @@ docker run -t mytestssl --help
docker run --rm -t mytestssl -p --header example.com docker run --rm -t mytestssl -p --header example.com
``` ```
### From dockerhub ### From dockerhub or ghcr
You can pull the image from dockerhub and run: You can pull the image from dockerhub or ghcr.io and run:
``` ```
docker run --rm -t drwetter/testssl.sh --fs example.com docker run --rm -t drwetter/testssl.sh --fs example.com / docker run --rm -t ghcr.io/testssl/testssl.sh --fs example.com
``` ```
Supported tags are: ``3.2`` and ``latest``, which are the same, i.e. the rolling release. ``3.0`` is the latest stable version from git which might have a few improvements (see git log) over the released version 3.0.X. Supported tags are: ``3.2`` and ``latest``, which are the same. ``3.0`` is the old stable version from git which will be soon retired.
``docker run --rm -t drwetter/testssl.sh:stable example.com``. ``docker run --rm -t drwetter/testssl.sh:stable example.com``.

@ -64,7 +64,14 @@ Testssl.sh has minimal requirements. As stated you don't have to install or buil
docker run --rm -ti drwetter/testssl.sh <your_cmd_line> docker run --rm -ti drwetter/testssl.sh <your_cmd_line>
``` ```
or from GHCR (GitHub Container Registry which supports more platforms: linux/amd64,linux/386,linux/arm64,linux/arm/v7,linux/arm/v6,linux/ppc64le):
```
docker run --rm -it ghcr.io/testssl/testssl.sh <your_cmd_line>
```
Or if you have cloned this repo you also can just ``cd`` to the INSTALLDIR and run Or if you have cloned this repo you also can just ``cd`` to the INSTALLDIR and run
``` ```
docker build . -t imagefoo && docker run --rm -t imagefoo example.com docker build . -t imagefoo && docker run --rm -t imagefoo example.com
``` ```