8 Commits

Author SHA1 Message Date
Renovate Bot ad6de1fd99 chore(deps): update docker/login-action action to v4
Build and publish container / build (pull_request) Successful in 5m11s
2026-06-12 00:02:54 +00:00
lyrathorpe 2a1e6dc8a4 Merge pull request 'feat(messages): add initial messages' (#6) from feat/reasons-why into main
Build and publish container / build (push) Successful in 5m59s
Reviewed-on: #6
2026-06-11 21:08:15 +01:00
lyrathorpe 6b19a55655 feat(messages): add initial messages
Build and publish container / build (pull_request) Successful in 4m22s
more added later on
2026-06-11 21:03:31 +01:00
lyrathorpe a2b9d445e4 Merge pull request 'Fix/theme colours' (#5) from fix/theme-colours into main
Build and publish container / build (push) Successful in 6m18s
Reviewed-on: #5
2026-06-11 17:49:40 +01:00
Emma Thorpe a14306cce4 fix: recolour original theme to a cream field with blue text
Build and publish container / build (pull_request) Successful in 4m51s
Use a cream/white background with navy message text and red buttons, so the
original red/white/blue livery presents blue text rather than white text on a
blue field.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-11 17:41:55 +01:00
Emma Thorpe 43f42a8274 fix: use solid theme backgrounds instead of a gradient
Replace the body background gradient with the solid theme colour and remove
the now-unused --bg-accent variables from both colour schemes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-11 17:36:47 +01:00
lyrathorpe 8376860fb4 Merge pull request 'fix: build multi-arch images for amd64 and arm64' (#4) from fix/multi-arch-build into main
Build and publish container / build (push) Successful in 6m51s
Reviewed-on: #4
2026-06-11 17:26:57 +01:00
Emma Thorpe d1803f06dd fix: build multi-arch images for amd64 and arm64
Build and publish container / build (pull_request) Successful in 5m2s
Add QEMU setup and build for linux/amd64 and linux/arm64 (armv8), publishing
a single multi-arch manifest. The nginx-unprivileged base image provides both
architectures.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-11 17:20:20 +01:00
4 changed files with 25 additions and 16 deletions
+5 -1
View File
@@ -93,12 +93,15 @@ jobs:
echo "release=${release}" >> "$GITHUB_OUTPUT"
echo "Computed bump=${bump}, release=${release}, base=${base}"
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to the Gitea container registry
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.repository_owner }}
@@ -108,6 +111,7 @@ jobs:
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.version.outputs.tags }}
labels: |
+3 -1
View File
@@ -46,7 +46,9 @@ docker run --rm -p 8080:8080 dlr
`.gitea/workflows/build-and-publish.yml` builds the container with Gitea Actions
on every push to `main` and on pull requests. Pull requests build the image but
do not push. The registry host is derived from the Gitea server URL.
do not push. The registry host is derived from the Gitea server URL. Images are
built for `linux/amd64` and `linux/arm64` (armv8) and published as a single
multi-arch manifest; the arm64 build runs under QEMU emulation.
Authentication requires a Personal Access Token with package read/write scope,
because the automatically provided `GITEA_TOKEN` does not carry container
+9 -4
View File
@@ -11,8 +11,13 @@
*/
const MESSAGES = [
"PLACEHOLDER: write your first reason here",
"PLACEHOLDER: write another reason here",
// Add as many entries as you like, one per line:
// "Your reason here",
"Maggie came back, she was unimpressed",
"They mixed up the B23s and the 2024 tube stock",
"The computer went on strike",
"Leaves on the track",
"Escalators broke at Cutty Sark",
"EHRC decided it was woke",
"JK Rowling",
"Kaiju",
"28 Days Later happened",
];
+8 -10
View File
@@ -10,7 +10,6 @@
/* Modern DLR — turquoise/teal */
[data-theme="modern"] {
--bg: #00afaa;
--bg-accent: #007e7a;
--surface: #ffffff;
--text: #ffffff;
--message: #ffffff;
@@ -20,17 +19,16 @@
--button-active-text: #ffffff;
}
/* Original DLR — 1987 red and blue */
/* Original DLR — 1987 red, white and blue */
[data-theme="original"] {
--bg: #002b5c;
--bg-accent: #c8102e;
--surface: #f5f0e1;
--text: #f5f0e1;
--message: #f5f0e1;
--bg: #f5f0e1;
--surface: #002b5c;
--text: #002b5c;
--message: #002b5c;
--button-bg: #c8102e;
--button-text: #f5f0e1;
--button-active-bg: #f5f0e1;
--button-active-text: #002b5c;
--button-active-bg: #002b5c;
--button-active-text: #f5f0e1;
}
* {
@@ -44,7 +42,7 @@ body {
flex-direction: column;
font-family: var(--font-stack);
color: var(--text);
background: linear-gradient(135deg, var(--bg) 0%, var(--bg-accent) 100%);
background: var(--bg);
transition: background 0.4s ease, color 0.4s ease;
}