diff --git a/README.md b/README.md index c68e5f4..7a4aeee 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 see 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`: 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: diff --git a/src/content/error_401.html b/src/content/error_401.html new file mode 100644 index 0000000..02ae343 --- /dev/null +++ b/src/content/error_401.html @@ -0,0 +1,4 @@ +

Unauthorized

+

+ Authentication is required to access this resource. Please log in with valid credentials. +

\ No newline at end of file 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