Skip to content

Commit 56908d3

Browse files
authored
Merge pull request #2730 from testssl/ghcr.io-doc-3.0
Add minimal doc for GHCR
2 parents e101be3 + ab15338 commit 56908d3

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

Dockerfile.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,21 @@ docker run -t mytestssl --help
3232
docker run --rm -t mytestssl -p --header example.com
3333
```
3434

35-
### From dockerhub
35+
### From dockerhub or ghcr
3636

37-
You can pull the image from dockerhub and e.g run:
37+
You can pull the image from dockerhub or ghcr and e.g run:
3838

3939
```
4040
docker run --rm -t drwetter/testssl.sh:3.0 --protocols --server-preference example.com
4141
```
4242

43-
Other tags supported are: ``3.1dev`` and ``latest``. They 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 3.0.X.
43+
respectively.
44+
45+
```
46+
docker run --rm -it ghcr.io/testssl/testssl.sh:3.0 --protocols --server-preference example.com
47+
```
48+
49+
As of now other tags supported are: ``latest`` or ``3.2``.. They are the same, i.e. the stable version. ``3.0`` is the old stable version.
4450

4551
``docker run --rm -t drwetter/testssl.sh:3.0 example.com``.
4652

Readme.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@ Testssl.sh has minimal requirements. As stated you don't have to install or buil
6666
```
6767
docker run --rm -ti drwetter/testssl.sh:3.0 <your_cmd_line>
6868
```
69+
70+
Alternatively you can run it from GHCR (GitHub Container Registry which supports more platforms: linux/amd64,linux/386,linux/arm64,linux/arm/v7,linux/arm/v6,linux/ppc64le):
71+
72+
6973
Or if you have cloned this repo you also can just ``cd`` to the INSTALLDIR (change to 3.0, do a git pull) and run
7074
```
7175
docker build . -t drfooimage && docker run --rm -t drfooimage example.com

0 commit comments

Comments
 (0)