Compare commits

..

No commits in common. "main" and "main" have entirely different histories.
main ... main

2 changed files with 3 additions and 35 deletions
.gitea/workflows
Containerfile

@ -1,32 +0,0 @@
name: Container build
on: [ push ]
jobs:
container-build:
runs-on: ubuntu-latest
if: gitea.ref == 'refs/heads/main'
steps:
- name: Clone repo
uses: actions/checkout@v4
- name: Set up BuildX
uses: docker/setup-buildx-action@v2
with:
endpoint: 'unix:///var/run/docker.sock'
- name: Set up QEMU
uses: Job79/setup-qemu-action@master
- name: Login to Registry
uses: docker/login-action@v3
with:
registry: git.plabble.org
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
context: .
file: ./Containerfile
platforms: |
linux/arm64
push: true
tags: |
git.plabble.org/job79/pastabble:latest

@ -1,11 +1,11 @@
FROM node:22-alpine3.20 AS frontend-builder
FROM node:21-alpine3.19 AS frontend-builder
WORKDIR /build
RUN corepack enable
COPY pastabble-frontend/ .
RUN pnpm i && pnpm build
FROM rust:alpine3.20 AS builder
FROM rust:alpine3.19 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.20
FROM alpine:3.19
WORKDIR /app
RUN mkdir wwwroot data && \