fix: set main branch for image build
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user