Builds automation_rs and the corresponding docker image. The binary is uploaded as an artifact and the image is uploaded to the registry. In order to improve caching the nightly version is locked using rust-toolchain.toml
9 lines
189 B
Docker
9 lines
189 B
Docker
FROM gcr.io/distroless/cc-debian12:nonroot
|
|
|
|
ENV AUTOMATION_CONFIG=/app/config.yml
|
|
COPY ./config/config.yml /app/config.yml
|
|
|
|
COPY ./build/automation /app/automation
|
|
|
|
CMD ["/app/automation"]
|