Compare commits
8 Commits
v1.0.0
...
b6f2589f02
| Author | SHA1 | Date | |
|---|---|---|---|
| b6f2589f02 | |||
| 2a1e6dc8a4 | |||
| 6b19a55655 | |||
| a2b9d445e4 | |||
| a14306cce4 | |||
| 43f42a8274 | |||
| 8376860fb4 | |||
| d1803f06dd |
@@ -18,7 +18,7 @@ jobs:
|
||||
packages: write
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
with:
|
||||
# Full history and tags are required to derive the next version
|
||||
# from the conventional-commit messages since the last release.
|
||||
@@ -93,21 +93,25 @@ jobs:
|
||||
echo "release=${release}" >> "$GITHUB_OUTPUT"
|
||||
echo "Computed bump=${bump}, release=${release}, base=${base}"
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3
|
||||
|
||||
- name: Set up Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3
|
||||
|
||||
- name: Log in to the Gitea container registry
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3
|
||||
with:
|
||||
registry: ${{ env.REGISTRY }}
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.PACKAGES_TOKEN }}
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v6
|
||||
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6
|
||||
with:
|
||||
context: .
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: ${{ github.event_name != 'pull_request' }}
|
||||
tags: ${{ steps.version.outputs.tags }}
|
||||
labels: |
|
||||
|
||||
@@ -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
@@ -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
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user