Use immutable tags for running tasks
This way we can run tasks with `IfNotPresent` and be sure it works as intended.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
ARG IMAGE_TAG
|
||||
ARG IMAGE_REPOSITORY
|
||||
FROM python:3
|
||||
|
||||
WORKDIR /app/
|
||||
@@ -11,3 +13,9 @@ ADD ./ ./
|
||||
ENTRYPOINT ["/usr/bin/env", "python3", "/app/rawfile.py"]
|
||||
CMD ["csi-driver"]
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
|
||||
|
||||
ARG IMAGE_TAG
|
||||
ARG IMAGE_REPOSITORY
|
||||
ENV IMAGE_REPOSITORY ${IMAGE_REPOSITORY}
|
||||
ENV IMAGE_TAG ${IMAGE_TAG}
|
||||
|
Reference in New Issue
Block a user