Compare commits

...
5 Commits
Author SHA1 Message Date
Gitea Actions 4fbd3ceabd Release 0.1.17 [auto-version-bump] 2026-10-14 09:59:18 +02:00
Ein Anderssono 85250d62e7 Bake frontend version as root during image build
Build and publish frontend / publish (push) Successful in 39s
2026-10-14 09:58:57 +02:00
Ein Anderssono 3d1328301a Copy game page into frontend image
Build and publish frontend / publish (push) Failing after 6s
2026-10-14 09:58:14 +02:00
Gitea Actions 7cd062ee1f Release 0.1.16 [auto-version-bump] 2026-10-14 09:50:31 +02:00
Ein Anderssono 305a568899 Create temporary Helm registry credentials file
Build and publish frontend / publish (push) Successful in 32s
2026-10-14 09:50:18 +02:00
4 changed files with 8 additions and 7 deletions
+1
View File
@@ -125,6 +125,7 @@ jobs:
helm package deploy/helm/ai-spel-frontend --destination "$publish_dir" \
--version "$version" --app-version "$version"
registry_config="$RUNNER_TEMP/helm/registry.json"
mkdir -p "$(dirname "$registry_config")"
printf '{}' > "$registry_config"
printf '%s' "$HARBOR_PASSWORD" | helm registry login harbor.k3s.k0.nu \
--username "$HARBOR_USERNAME" --password-stdin \
+4 -4
View File
@@ -1,11 +1,11 @@
FROM nginxinc/nginx-unprivileged:1.27-alpine
ARG FRONTEND_VERSION
USER root
RUN test -n "$FRONTEND_VERSION" \
&& sed -i "s/__FRONTEND_VERSION__/${FRONTEND_VERSION}/g" /usr/share/nginx/html/index.html
RUN test -n "$FRONTEND_VERSION"
COPY index.html /usr/share/nginx/html/index.html
COPY nginx/default.conf /etc/nginx/conf.d/default.conf
USER root
RUN sed -i "s/__FRONTEND_VERSION__/${FRONTEND_VERSION}/g" /usr/share/nginx/html/index.html
USER 101
EXPOSE 8080
+1 -1
View File
@@ -1 +1 @@
0.1.15
0.1.17
+2 -2
View File
@@ -2,5 +2,5 @@ apiVersion: v2
name: ai-spel-frontend
description: Static web frontend for the Swedish life simulator
type: application
version: 0.1.15
appVersion: "0.1.15"
version: 0.1.17
appVersion: "0.1.17"