File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ pipeline {
279279 # ${TEMPDIR}/unraid/docker-templates: Cloned docker-templates repo to check for logos
280280 # ${TEMPDIR}/unraid/templates: Cloned templates repo for commiting unraid template changes and pushing back to Github
281281 git clone --branch master --depth 1 https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/docker-${CONTAINER_NAME}
282- docker run --rm -v ${TEMPDIR}/docker-${CONTAINER_NAME}:/tmp -e LOCAL=true ghcr.io/linuxserver/jenkins-builder:latest
282+ docker run --rm -v ${TEMPDIR}/docker-${CONTAINER_NAME}:/tmp -e LOCAL=true -e PUID=$(id -u) -e PGID=$(id -g) ghcr.io/linuxserver/jenkins-builder:latest
283283 echo "Starting Stage 1 - Jenkinsfile update"
284284 if [[ "$(md5sum Jenkinsfile | awk '{ print $1 }')" != "$(md5sum ${TEMPDIR}/docker-${CONTAINER_NAME}/Jenkinsfile | awk '{ print $1 }')" ]]; then
285285 mkdir -p ${TEMPDIR}/repo
@@ -612,7 +612,7 @@ pipeline {
612612 sh ''' #! /bin/bash
613613 set -e
614614 TEMPDIR=$(mktemp -d)
615- if [ "${MULTIARCH}" == "true" ] && [ "${PACKAGE_CHECK}" == "false " ]; then
615+ if [ "${MULTIARCH}" == "true" ] && [ "${PACKAGE_CHECK}" != "true " ]; then
616616 LOCAL_CONTAINER=${IMAGE}:amd64-${META_TAG}
617617 else
618618 LOCAL_CONTAINER=${IMAGE}:${META_TAG}
You can’t perform that action at this time.
0 commit comments