diff --git a/pipeline/Builder-Dockerfile b/pipeline/Builder-Dockerfile index 502d55bd..b74e9439 100644 --- a/pipeline/Builder-Dockerfile +++ b/pipeline/Builder-Dockerfile @@ -7,8 +7,12 @@ ARG QUARKUS_EXTENSIONS # add extension command ARG QUARKUS_ADD_EXTENSION_ARGS +ARG WF_FILE=workflow.sw.json +ARG WF_RESOURCES + # Copy from build context to skeleton resources project -COPY --chmod=644 workflow.sw.json ./resources/ +COPY --chmod=644 ${WF_FILE} ./resources/ +COPY --chmod=644 ${WF_RESOURCES} ./resources/ # Build the app RUN /home/kogito/launch/build-app.sh ./resources