Fix Docker Builds in CI #21

Merged
drew merged 1 commit from docker into main 2025-11-30 06:08:49 +00:00
2 changed files with 9 additions and 5 deletions
Showing only changes of commit ff89fc283c - Show all commits

View file

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

View file

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