fix: exit non-zero when git:from-image deploys fail to start the app

Also ensure the repository doesn't get updated to an invalid state in those failure cases.

Closes #5538
This commit is contained in:
Jose Diaz-Gonzalez
2022-12-27 02:37:18 -05:00
parent 32af26d7a1
commit fd2c540cd5
4 changed files with 102 additions and 3 deletions

View File

@@ -1,5 +1,9 @@
FROM python:3.11.0-buster
ARG BUILD_ARG=key
WORKDIR /app
COPY . /app
RUN echo $BUILD_ARG > BUILD_ARG.contents