Merge remote-tracking branch 'origin/main'

This commit is contained in:
aiongg committed 2026-11-21 04:28:19 +00:00
commit fe3a696ddd
3 files changed
+11 -7

No files matched your search

+4 -2
View File
@@ -19,8 +19,10 @@ concurrency:
jobs:
publish:
uses: storytold/craft-common-actions/.github/workflows/docker-build.yml@main
secrets: inherit
uses: storytold/craft-common-actions/.github/workflows/docker-build.yml@0bef64f155fcea81edbd9542381777358bfbdcf4
secrets:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
with:
images: |
ghcr.io/storytold/autocraft
+2 -2
View File
@@ -11,8 +11,8 @@
# production stage is the runtime variant, which ships nothing but Node and has no
# shell to install anything with. That is why everything the process needs is
# assembled in a rootfs by the `tools` stage and copied in as files.
ARG NODE_DEV_IMAGE=dhi.io/node:26-debian-dev
ARG NODE_RUNTIME_IMAGE=dhi.io/node:26
ARG NODE_DEV_IMAGE=dhi.io/node:26-debian-dev@sha256:5101bfdf585a219118dbd5c3ed6554d778e95ff1b9d83aad6da1ebb87f26e3fc
ARG NODE_RUNTIME_IMAGE=dhi.io/node:26@sha256:de8059011a5c409edeb514882b1f7093b8f0610bb3ca582c5470cec9106f6056
################################################################################
# The dashboard bundle the server serves from web/dist.
+5 -3
View File
@@ -40,6 +40,7 @@ spec:
metadata:
labels: { app.kubernetes.io/name: autocraft }
spec:
automountServiceAccountToken: false
hostUsers: false # needed for the runner's procMount: Unmasked
terminationGracePeriodSeconds: 30 # above AUTOCRAFT_STOP_TIMEOUT (25)
securityContext:
@@ -49,7 +50,7 @@ spec:
fsGroup: 10001
containers:
- name: dashboard
image: autocraft:latest # replace with your registry image
image: ghcr.io/storytold/autocraft@sha256:070416efcd1d986541c3fc395b949b85d93ba00145fbc85f54bb8909b30080d8 # replace with your registry image
args: ["dashboard"]
env:
- { name: AUTOCRAFT_BASE_URL, value: "https://autocraft.example.com" }
@@ -73,7 +74,7 @@ spec:
- { name: data, mountPath: /data }
- { name: config, mountPath: /config }
- name: runner
image: autocraft:latest
image: ghcr.io/storytold/autocraft@sha256:070416efcd1d986541c3fc395b949b85d93ba00145fbc85f54bb8909b30080d8
args: ["runner"]
env:
- { name: AUTOCRAFT_BASE_URL, value: "https://autocraft.example.com" }
@@ -91,6 +92,7 @@ spec:
periodSeconds: 5
# bubblewrap (the sandbox of tool-using Claude calls) needs both settings below.
securityContext:
allowPrivilegeEscalation: false
procMount: Unmasked
seccompProfile: { type: Unconfined }
capabilities: { drop: ["ALL"] }
@@ -100,7 +102,7 @@ spec:
# Runs the work of the systemd sync timer (every minute after the previous run ends) and the
# daily backup timer (keeping 7), as one-shot commands of the same image.
- name: periodic
image: autocraft:latest
image: ghcr.io/storytold/autocraft@sha256:070416efcd1d986541c3fc395b949b85d93ba00145fbc85f54bb8909b30080d8
command:
- /usr/bin/tini
- --