testing build workflow
Some checks failed
Test the running changes / Test (push) Successful in 1m51s
Build and push Docker image / build (push) Has been cancelled

This commit is contained in:
2025-11-15 02:09:17 +02:00
parent 8d47704b7e
commit be58e2eb79
3 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
name: Build and push Docker image
env:
CARGO_COLOR_TERM: always
on:
push:
branches: ["master", "dev"]
jobs:
build:
runs-on: kubernetes
steps:
- run: echo "what this wasn't a hallucination!!!"

9
Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM rust:1.91.1-bookworm AS builder
WORKDIR /app
COPY . .
RUN cargo build --release
FROM debian:12-slim
WORKDIR /app
COPY --from=builder /app/target/release/stdsrv .
CMD ["./stdsrv"]