I detected following problem with Kaniko in GitLab CI: Lets say I have this Dockerfile:
FROM nginx:latest
RUN mkdir test
Now I want to create two images from this Dockerfile. When building the second image it fails saying that the directory has been created already.
I think the reson of this has something to do with kanikos build context.
Do you have an idea how I can still build multiple images inside a single pipeline job using Kaniko?