Compare commits
8 Commits
v1.0.0
..
ad6de1fd99
| Author | SHA1 | Date | |
|---|---|---|---|
| ad6de1fd99 | |||
| 2a1e6dc8a4 | |||
| 6b19a55655 | |||
| a2b9d445e4 | |||
| a14306cce4 | |||
| 43f42a8274 | |||
| 8376860fb4 | |||
| d1803f06dd |
@@ -93,12 +93,15 @@ jobs:
|
|||||||
echo "release=${release}" >> "$GITHUB_OUTPUT"
|
echo "release=${release}" >> "$GITHUB_OUTPUT"
|
||||||
echo "Computed bump=${bump}, release=${release}, base=${base}"
|
echo "Computed bump=${bump}, release=${release}, base=${base}"
|
||||||
|
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v3
|
||||||
|
|
||||||
- name: Set up Buildx
|
- name: Set up Buildx
|
||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Log in to the Gitea container registry
|
- name: Log in to the Gitea container registry
|
||||||
if: github.event_name != 'pull_request'
|
if: github.event_name != 'pull_request'
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@650006c6eb7dba73a995cc03b0b2d7f5ca915bee # v4
|
||||||
with:
|
with:
|
||||||
registry: ${{ env.REGISTRY }}
|
registry: ${{ env.REGISTRY }}
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
@@ -108,6 +111,7 @@ jobs:
|
|||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
push: ${{ github.event_name != 'pull_request' }}
|
push: ${{ github.event_name != 'pull_request' }}
|
||||||
tags: ${{ steps.version.outputs.tags }}
|
tags: ${{ steps.version.outputs.tags }}
|
||||||
labels: |
|
labels: |
|
||||||
|
|||||||
@@ -46,7 +46,9 @@ docker run --rm -p 8080:8080 dlr
|
|||||||
|
|
||||||
`.gitea/workflows/build-and-publish.yml` builds the container with Gitea Actions
|
`.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
|
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,
|
Authentication requires a Personal Access Token with package read/write scope,
|
||||||
because the automatically provided `GITEA_TOKEN` does not carry container
|
because the automatically provided `GITEA_TOKEN` does not carry container
|
||||||
|
|||||||
+9
-4
@@ -11,8 +11,13 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
const MESSAGES = [
|
const MESSAGES = [
|
||||||
"PLACEHOLDER: write your first reason here",
|
"Maggie came back, she was unimpressed",
|
||||||
"PLACEHOLDER: write another reason here",
|
"They mixed up the B23s and the 2024 tube stock",
|
||||||
// Add as many entries as you like, one per line:
|
"The computer went on strike",
|
||||||
// "Your reason here",
|
"Leaves on the track",
|
||||||
|
"Escalators broke at Cutty Sark",
|
||||||
|
"EHRC decided it was woke",
|
||||||
|
"JK Rowling",
|
||||||
|
"Kaiju",
|
||||||
|
"28 Days Later happened",
|
||||||
];
|
];
|
||||||
|
|||||||
+8
-10
@@ -10,7 +10,6 @@
|
|||||||
/* Modern DLR — turquoise/teal */
|
/* Modern DLR — turquoise/teal */
|
||||||
[data-theme="modern"] {
|
[data-theme="modern"] {
|
||||||
--bg: #00afaa;
|
--bg: #00afaa;
|
||||||
--bg-accent: #007e7a;
|
|
||||||
--surface: #ffffff;
|
--surface: #ffffff;
|
||||||
--text: #ffffff;
|
--text: #ffffff;
|
||||||
--message: #ffffff;
|
--message: #ffffff;
|
||||||
@@ -20,17 +19,16 @@
|
|||||||
--button-active-text: #ffffff;
|
--button-active-text: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Original DLR — 1987 red and blue */
|
/* Original DLR — 1987 red, white and blue */
|
||||||
[data-theme="original"] {
|
[data-theme="original"] {
|
||||||
--bg: #002b5c;
|
--bg: #f5f0e1;
|
||||||
--bg-accent: #c8102e;
|
--surface: #002b5c;
|
||||||
--surface: #f5f0e1;
|
--text: #002b5c;
|
||||||
--text: #f5f0e1;
|
--message: #002b5c;
|
||||||
--message: #f5f0e1;
|
|
||||||
--button-bg: #c8102e;
|
--button-bg: #c8102e;
|
||||||
--button-text: #f5f0e1;
|
--button-text: #f5f0e1;
|
||||||
--button-active-bg: #f5f0e1;
|
--button-active-bg: #002b5c;
|
||||||
--button-active-text: #002b5c;
|
--button-active-text: #f5f0e1;
|
||||||
}
|
}
|
||||||
|
|
||||||
* {
|
* {
|
||||||
@@ -44,7 +42,7 @@ body {
|
|||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
font-family: var(--font-stack);
|
font-family: var(--font-stack);
|
||||||
color: var(--text);
|
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;
|
transition: background 0.4s ease, color 0.4s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user