Move build process to podman
Some checks failed
Docker Build / Build and Push Backend Image (push) Successful in 5m28s
Docker Build / Build and Push Frontend Image (push) Successful in 6m17s
Check / Backend (pull_request) Has been cancelled
Check / Frontend (pull_request) Has been cancelled

This commit is contained in:
Drew 2025-11-25 22:00:20 -08:00
parent 15fabd126e
commit 220bca6edb
2 changed files with 10 additions and 6 deletions

View file

@ -2,7 +2,7 @@ name: Docker Build
on:
push:
branches: [ main ]
branches: [ main, docker ]
jobs:
docker-backend:
@ -11,8 +11,10 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- run: |
apt update && apt install -y docker.io
- name: Install Docker
run: |
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Forgejo Container Registry
@ -31,8 +33,10 @@ jobs:
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- run: |
apt update && apt install -y docker.io
- name: Install Docker
run: |
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Forgejo Container Registry

View file

@ -25,7 +25,7 @@ COPY src/ src/
COPY migrations/ migrations/
# Build the application
RUN cargo build --release
RUN --mount=source=.sqlx,target=.sqlx cargo build --release
# Runtime stage
FROM alpine:latest