19 Commits

Author SHA1 Message Date
f2eaac460d chore: update web dependencies
Some checks failed
Build container / build (push) Failing after 34s
2025-06-03 17:23:09 +02:00
babddc6838 ci: install qemu-user-static before building
Some checks failed
Build container / build (push) Failing after 21s
2025-06-03 17:02:27 +02:00
2ce492e2ea fix: build for arm64 arch
Some checks failed
Build container / build (push) Failing after 32s
2025-06-03 16:48:07 +02:00
Job
450a841385 ci: remove schedule
All checks were successful
Build container / build (push) Successful in 2m21s
2025-06-02 18:33:07 +00:00
Job
d23ea2eea1 ci: update container build script
Some checks failed
Build container / build (push) Has been cancelled
2025-06-02 18:32:48 +00:00
76b3af3e55 ci: do not build amd64 version
All checks were successful
Container build / container-build (push) Successful in 42m18s
2024-05-30 17:02:03 +02:00
ef04e95c4e chore: update alpine version 2024-05-30 17:01:23 +02:00
5d6dc6f50e ci: use master branch
All checks were successful
Container build / container-build (push) Successful in 43m22s
2024-02-09 20:34:33 +01:00
3ea33fc34e ci: force newest version of QEMU
Some checks failed
Container build / container-build (push) Failing after 25s
2024-02-09 17:48:04 +01:00
9508911c19 ci: use own custom QEMU action
Some checks failed
Container build / container-build (push) Failing after 36s
2024-02-09 17:38:17 +01:00
3bbf1a2bfa ci: try version 1
Some checks failed
Container build / container-build (push) Failing after 40s
2024-02-09 17:29:30 +01:00
c56c6c39ed revert: ci: disable QEMU
Some checks failed
Container build / container-build (push) Failing after 1m4s
This reverts commit 280957ca22.
2024-02-09 16:52:15 +01:00
280957ca22 ci: disable QEMU
Some checks failed
Container build / container-build (push) Failing after 1m17s
2024-02-09 16:10:05 +01:00
c2c452510b ci: add QEMU
Some checks failed
Container build / container-build (push) Has been cancelled
2024-02-09 15:43:09 +01:00
69744cda5f ci: add push
All checks were successful
Container build / container-build (push) Successful in 4m7s
2024-02-09 15:33:42 +01:00
b2660c125c ci: try /var/run/docker.sock
All checks were successful
Container build / container-build (push) Successful in 5m55s
2024-02-09 15:27:31 +01:00
9895782b0a fe
Some checks failed
Container build / container-build (push) Failing after 27s
2024-02-09 15:13:06 +01:00
8bca3eb2fe fe 2024-02-09 15:11:23 +01:00
952a1075bf chore: add ci 2024-02-09 15:11:11 +01:00
5 changed files with 1310 additions and 1224 deletions

28
.gitea/workflows/ci.yaml Normal file
View File

@@ -0,0 +1,28 @@
name: Build container
on:
push:
jobs:
build:
runs-on: citadel-container-builder
steps:
- uses: actions/checkout@v4
- name: Install qemu dependency
run: |
sudo dnf install -y qemu-user-static-aarch64
- name: Build
uses: redhat-actions/buildah-build@v2
with:
image: ${{ github.repository_owner }}/${{ github.event.repository.name }}
tags: latest
archs: arm64
containerfiles: |
./Containerfile
- name: Push
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ github.repository_owner }}/${{ github.event.repository.name }}
tags: latest
registry: git.plabble.org
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}

View File

@@ -1,11 +1,11 @@
FROM node:21-alpine3.19 AS frontend-builder
FROM node:22-alpine3.20 AS frontend-builder
WORKDIR /build
RUN corepack enable
COPY pastabble-frontend/ .
RUN pnpm i && pnpm build
FROM rust:alpine3.19 AS builder
FROM rust:alpine3.20 AS builder
WORKDIR /build
RUN apk add --no-cache musl-dev
@@ -18,7 +18,7 @@ RUN case "$(apk --print-arch)" in \
mv ./target/aarch64-unknown-linux-musl /release ;; \
esac
FROM alpine:3.19
FROM alpine:3.20
WORKDIR /app
RUN mkdir wwwroot data && \

View File

@@ -10,20 +10,20 @@
"check": "svelte-check --tsconfig ./tsconfig.json"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"@tsconfig/svelte": "^5.0.2",
"autoprefixer": "^10.4.17",
"daisyui": "^4.6.1",
"postcss": "^8.4.33",
"svelte": "^4.2.8",
"svelte-check": "^3.6.2",
"tailwindcss": "^3.4.1",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
"vite": "^5.0.8"
"@sveltejs/vite-plugin-svelte": "^5.1.0",
"@tsconfig/svelte": "^5.0.4",
"autoprefixer": "^10.4.21",
"daisyui": "^4.12.24",
"postcss": "^8.5.4",
"svelte": "^5.33.14",
"svelte-check": "^4.2.1",
"tailwindcss": "^3.4.17",
"tslib": "^2.8.1",
"typescript": "^5.8.3",
"vite": "^6.3.5"
},
"dependencies": {
"highlight.js": "^11.9.0",
"highlight.js": "^11.11.1",
"svelte-spa-router": "^4.0.1"
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,9 +1,8 @@
import './app.css'
import 'highlight.js/styles/github-dark.min.css';
import { mount } from 'svelte';
import App from './App.svelte'
const app = new App({
target: document.getElementById('app'),
})
const app = mount(App, { target: document.getElementById("app") });
export default app