forked from Maurice/pastabble
Compare commits
19 Commits
main
...
f2eaac460d
| Author | SHA1 | Date | |
|---|---|---|---|
| f2eaac460d | |||
| babddc6838 | |||
| 2ce492e2ea | |||
| 450a841385 | |||
| d23ea2eea1 | |||
| 76b3af3e55 | |||
| ef04e95c4e | |||
| 5d6dc6f50e | |||
| 3ea33fc34e | |||
| 9508911c19 | |||
| 3bbf1a2bfa | |||
| c56c6c39ed | |||
| 280957ca22 | |||
| c2c452510b | |||
| 69744cda5f | |||
| b2660c125c | |||
| 9895782b0a | |||
| 8bca3eb2fe | |||
| 952a1075bf |
28
.gitea/workflows/ci.yaml
Normal file
28
.gitea/workflows/ci.yaml
Normal 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 }}
|
||||||
974
Cargo.lock
generated
974
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -1,11 +1,11 @@
|
|||||||
FROM node:24-alpine3.22 AS frontend-builder
|
FROM node:22-alpine3.20 AS frontend-builder
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
|
|
||||||
RUN corepack enable
|
RUN corepack enable
|
||||||
COPY pastabble-frontend/ .
|
COPY pastabble-frontend/ .
|
||||||
RUN pnpm i && pnpm build
|
RUN pnpm i && pnpm build
|
||||||
|
|
||||||
FROM rust:alpine3.22 AS builder
|
FROM rust:alpine3.20 AS builder
|
||||||
WORKDIR /build
|
WORKDIR /build
|
||||||
|
|
||||||
RUN apk add --no-cache musl-dev
|
RUN apk add --no-cache musl-dev
|
||||||
@@ -18,7 +18,7 @@ RUN case "$(apk --print-arch)" in \
|
|||||||
mv ./target/aarch64-unknown-linux-musl /release ;; \
|
mv ./target/aarch64-unknown-linux-musl /release ;; \
|
||||||
esac
|
esac
|
||||||
|
|
||||||
FROM alpine:3.22
|
FROM alpine:3.20
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
RUN mkdir wwwroot data && \
|
RUN mkdir wwwroot data && \
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
segment_size: 524288
|
segment_size: 524288
|
||||||
use_compression: false
|
use_compression: false
|
||||||
version: 0.34
|
version: 0.34
|
||||||
vQ<>
|
vQ<>
|
||||||
Binary file not shown.
@@ -11,12 +11,13 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@sveltejs/vite-plugin-svelte": "^5.1.0",
|
"@sveltejs/vite-plugin-svelte": "^5.1.0",
|
||||||
"@tailwindcss/vite": "^4.1.8",
|
|
||||||
"@tsconfig/svelte": "^5.0.4",
|
"@tsconfig/svelte": "^5.0.4",
|
||||||
"daisyui": "^5.0.43",
|
"autoprefixer": "^10.4.21",
|
||||||
|
"daisyui": "^4.12.24",
|
||||||
|
"postcss": "^8.5.4",
|
||||||
"svelte": "^5.33.14",
|
"svelte": "^5.33.14",
|
||||||
"svelte-check": "^4.2.1",
|
"svelte-check": "^4.2.1",
|
||||||
"tailwindcss": "^4.1.8",
|
"tailwindcss": "^3.4.17",
|
||||||
"tslib": "^2.8.1",
|
"tslib": "^2.8.1",
|
||||||
"typescript": "^5.8.3",
|
"typescript": "^5.8.3",
|
||||||
"vite": "^6.3.5"
|
"vite": "^6.3.5"
|
||||||
|
|||||||
1194
pastabble-frontend/pnpm-lock.yaml
generated
1194
pastabble-frontend/pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
6
pastabble-frontend/postcss.config.js
Normal file
6
pastabble-frontend/postcss.config.js
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
export default {
|
||||||
|
plugins: {
|
||||||
|
tailwindcss: {},
|
||||||
|
autoprefixer: {},
|
||||||
|
},
|
||||||
|
}
|
||||||
@@ -1,2 +1,3 @@
|
|||||||
@import 'tailwindcss';
|
@tailwind base;
|
||||||
@plugin "daisyui";
|
@tailwind components;
|
||||||
|
@tailwind utilities;
|
||||||
@@ -4,5 +4,6 @@ export default {
|
|||||||
theme: {
|
theme: {
|
||||||
extend: {},
|
extend: {},
|
||||||
},
|
},
|
||||||
|
plugins: [require('daisyui')],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
import { defineConfig } from 'vite'
|
import { defineConfig } from 'vite'
|
||||||
import { svelte } from '@sveltejs/vite-plugin-svelte'
|
import { svelte } from '@sveltejs/vite-plugin-svelte'
|
||||||
import tailwindcss from '@tailwindcss/vite'
|
|
||||||
|
|
||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [svelte(), tailwindcss()],
|
plugins: [svelte()]
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user