diff --git a/.github/workflows/ci.dockerfile b/.github/workflows/ci.dockerfile index 829647a..c3828db 100644 --- a/.github/workflows/ci.dockerfile +++ b/.github/workflows/ci.dockerfile @@ -11,9 +11,11 @@ USER labview ENV USER=labview ENV GITHUB_REPOSITORY=${GITHUB_REPOSITORY} +ARG src="src/JSON Serialization.vipc" + # note that files after the first COPY are optional, which is nice (since might not have a dev.vipc) # also note that dockerfile doesn't do whitespace characters, which is why we have a * in the COPY command -COPY "src/JSON Serialization.vipc" ./source.vipc +COPY ${src} ./source.vipc # the script below will apply VIPC files, if they are found. RUN if [ -f dev.vipc ] || [ -f source.vipc ]; then \