Builds automation_rs and the corresponding docker image. The binary is uploaded as an artifact and the image is uploaded to the registry.
11 lines
213 B
Docker
11 lines
213 B
Docker
FROM gcr.io/distroless/cc-debian12:nonroot
|
|
|
|
ENV AUTOMATION_CONFIG=/app/config.yml
|
|
COPY ./config/config.yml /app/config.yml
|
|
|
|
COPY ./automation /app/automation
|
|
|
|
RUN chmod +x /app/automation
|
|
|
|
CMD ["/app/automation"]
|