fix: set main branch for image build

This commit is contained in:
2025-10-06 09:14:44 -03:00
parent 138068c2e5
commit 05bf884aa1

View File

@@ -1,6 +1,7 @@
FROM docker.io/rust:1.90 AS build FROM docker.io/rust:1.90 AS build
COPY . /app COPY . /app
WORKDIR /app WORKDIR /app
RUN git checkout main
RUN cargo build --release RUN cargo build --release
# FROM docker.io/alpine:3.22.1 AS production # FROM docker.io/alpine:3.22.1 AS production