From 6b30ef0fcd00a252ea45ec09f88b0997e74ae8d6 Mon Sep 17 00:00:00 2001 From: mxrch Date: Fri, 26 Nov 2021 18:49:26 +0100 Subject: [PATCH] Update docker scripts to use ghcr.io container registry --- README.md | 5 ++--- docker_check_and_gen.sh | 2 +- docker_hunt.sh | 2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d105cf1..83f5715 100644 --- a/README.md +++ b/README.md @@ -116,12 +116,11 @@ You can pull the Docker image with: docker pull ghcr.io/mxrch/ghunt ``` -Then, any of the scripts can be invoked through: +Then, you can use the `docker_check_and_gen.sh` and `docker_hunt.sh` to invoke GHunt through Docker, or you can use these commants : ``` docker run -v ghunt-resources:/usr/src/app/resources -ti ghcr.io/mxrch/ghunt check_and_gen.py -docker run -v ghunt-resources:/usr/src/app/resources -ti ghcr.io/mxrch/ghunt ghunt.py email -docker run -v ghunt-resources:/usr/src/app/resources -ti ghcr.io/mxrch/ghunt ghunt.py doc +docker run -v ghunt-resources:/usr/src/app/resources -ti ghcr.io/mxrch/ghunt ghunt.py ``` # Usage diff --git a/docker_check_and_gen.sh b/docker_check_and_gen.sh index 1c89170..0d053b8 100644 --- a/docker_check_and_gen.sh +++ b/docker_check_and_gen.sh @@ -1,2 +1,2 @@ #!/bin/bash -docker run -v ghunt-resources:/usr/src/app/resources -ti mxrch/ghunt check_and_gen.py +docker run -v ghunt-resources:/usr/src/app/resources -ti ghcr.io/mxrch/ghunt check_and_gen.py diff --git a/docker_hunt.sh b/docker_hunt.sh index 63a2501..b242d3e 100755 --- a/docker_hunt.sh +++ b/docker_hunt.sh @@ -1,2 +1,2 @@ #!/bin/bash -docker run -v ghunt-resources:/usr/src/app/resources -ti mxrch/ghunt ghunt.py $1 $2 \ No newline at end of file +docker run -v ghunt-resources:/usr/src/app/resources -ti ghcr.io/mxrch/ghunt ghunt.py $1 $2 \ No newline at end of file