chore: Update workflow
All checks were successful
Build and deploy / build (push) Successful in 9m40s

This commit is contained in:
2025-12-22 23:43:31 +01:00
parent 6863261c3e
commit 948473c171
4 changed files with 29 additions and 5 deletions

View File

@@ -15,9 +15,11 @@ RUN cargo chef cook --release --recipe-path recipe.json
COPY . .
ARG RELEASE_VERSION
ENV RELEASE_VERSION=${RELEASE_VERSION}
RUN cargo auditable build --release
RUN cargo auditable build --release && /app/target/release/crdgen > /crds.yaml
FROM scratch AS manifests
COPY --from=builder /crds.yaml /
FROM gcr.io/distroless/cc-debian13:nonroot AS runtime
COPY --from=builder /app/target/release/authelia-controller /authelia-controller
COPY --from=builder /app/target/release/crdgen /crdgen
CMD ["/authelia-controller"]