From 41bac80dd0438ba6f3f168cb7946fbb4ca2643a2 Mon Sep 17 00:00:00 2001 From: The0Mikkel Date: Sun, 16 Nov 2025 19:33:47 +0100 Subject: [PATCH 1/6] docs: add docker image information --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index c68e5f4..d995e3b 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,15 @@ The service can also be run locally, using the provided Docker compose file: docker compose up -d ``` +A [Docker image](https://github.com/ctfpilot/error-fallback/pkgs/container/error-fallback) is automatically built and published to GitHub Container Registry for each release. +You can pull the latest image with: + +```sh +docker pull ghcr.io/ctfpilot/error-fallback:latest +``` + +*For the versions available, please the the [releases page](https://github.com/ctfpilot/error-fallback/releases).* + ### Development In order to generate the pages, run the [`generator.py`](./src/generator.py) script in `src`: From c7ac1d5804084a10166b1fcc9d26713d11810fc4 Mon Sep 17 00:00:00 2001 From: The0Mikkel Date: Sun, 16 Nov 2025 19:43:43 +0100 Subject: [PATCH 2/6] feat(401): add 401 error page --- src/content/error_401.html | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 src/content/error_401.html diff --git a/src/content/error_401.html b/src/content/error_401.html new file mode 100644 index 0000000..d4b5936 --- /dev/null +++ b/src/content/error_401.html @@ -0,0 +1,4 @@ +

Unauthorized access

+

+ You do not have permission to access this resource. Please ensure you are logged in with the correct credentials. +

\ No newline at end of file From 9d44c887d8e668185a498825af45a7cbc88ce881 Mon Sep 17 00:00:00 2001 From: The0Mikkel Date: Sun, 16 Nov 2025 19:43:51 +0100 Subject: [PATCH 3/6] feat(403): add 403 error page --- src/content/error_403.html | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 src/content/error_403.html diff --git a/src/content/error_403.html b/src/content/error_403.html new file mode 100644 index 0000000..ee96fdd --- /dev/null +++ b/src/content/error_403.html @@ -0,0 +1,5 @@ +

Forbidden

+

+ You do not have permission to access this resource. If you believe this is an error, please contact the + administrator. +

\ No newline at end of file From c292b60f324076847323005ea61de3ec4510f538 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Sun, 16 Nov 2025 18:45:13 +0000 Subject: [PATCH 4/6] chore(release): 1.0.0-r.2 [skip ci] ## [1.0.0-r.2](https://github.com/ctfpilot/error-fallback/compare/v1.0.0-r.1...v1.0.0-r.2) (2025-11-16) ### Features * **401:** add 401 error page ([c7ac1d5](https://github.com/ctfpilot/error-fallback/commit/c7ac1d5804084a10166b1fcc9d26713d11810fc4)) * **403:** add 403 error page ([9d44c88](https://github.com/ctfpilot/error-fallback/commit/9d44c887d8e668185a498825af45a7cbc88ce881)) --- k8s/k8s.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/k8s/k8s.yml b/k8s/k8s.yml index 47c20d6..ea07f82 100644 --- a/k8s/k8s.yml +++ b/k8s/k8s.yml @@ -5,7 +5,7 @@ metadata: labels: app.kubernetes.io/part-of: ctfpilot app.kubernetes.io/name: error-fallback - app.kubernetes.io/version: 1.0.0 + app.kubernetes.io/version: 1.0.0-r.2 app.kubernetes.io/component: challenges ctfpilot.com/component: error-fallback @@ -25,7 +25,7 @@ spec: automountServiceAccountToken: false containers: - name: error-fallback - image: ctfpilot/error-fallback:1.0.0 + image: ctfpilot/error-fallback:1.0.0-r.2 imagePullPolicy: Always ports: - name: http @@ -57,7 +57,7 @@ metadata: labels: app.kubernetes.io/part-of: ctfpilot app.kubernetes.io/name: error-fallback - app.kubernetes.io/version: 1.0.0 + app.kubernetes.io/version: 1.0.0-r.2 app.kubernetes.io/component: challenges ctfpilot.com/component: error-fallback spec: From f1b510fa7c86debf66b52f212015b370d82c685c Mon Sep 17 00:00:00 2001 From: Mikkel Albrechtsen Date: Sun, 16 Nov 2025 19:46:53 +0100 Subject: [PATCH 5/6] Update src/content/error_401.html Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- src/content/error_401.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/error_401.html b/src/content/error_401.html index d4b5936..02ae343 100644 --- a/src/content/error_401.html +++ b/src/content/error_401.html @@ -1,4 +1,4 @@ -

Unauthorized access

+

Unauthorized

- You do not have permission to access this resource. Please ensure you are logged in with the correct credentials. + Authentication is required to access this resource. Please log in with valid credentials.

\ No newline at end of file From c914fe76c52d27a04761d7ac3b14647b2ab70fe7 Mon Sep 17 00:00:00 2001 From: The0Mikkel Date: Sun, 16 Nov 2025 19:47:09 +0100 Subject: [PATCH 6/6] Correct typo in README.md regarding releases page --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d995e3b..7a4aeee 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ You can pull the latest image with: docker pull ghcr.io/ctfpilot/error-fallback:latest ``` -*For the versions available, please the the [releases page](https://github.com/ctfpilot/error-fallback/releases).* +*For the versions available, please see the [releases page](https://github.com/ctfpilot/error-fallback/releases).* ### Development