Skip to content

Commit 1f7639b

Browse files
Bot Updating Templated Files
1 parent 48e51e8 commit 1f7639b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ pipeline {
276276
# ${TEMPDIR}/unraid/docker-templates: Cloned docker-templates repo to check for logos
277277
# ${TEMPDIR}/unraid/templates: Cloned templates repo for commiting unraid template changes and pushing back to Github
278278
git clone --branch master --depth 1 https://github.com/${LS_USER}/${LS_REPO}.git ${TEMPDIR}/docker-${CONTAINER_NAME}
279-
docker run --rm -v ${TEMPDIR}/docker-${CONTAINER_NAME}:/tmp -e LOCAL=true ghcr.io/linuxserver/jenkins-builder:latest
279+
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
280280
echo "Starting Stage 1 - Jenkinsfile update"
281281
if [[ "$(md5sum Jenkinsfile | awk '{ print $1 }')" != "$(md5sum ${TEMPDIR}/docker-${CONTAINER_NAME}/Jenkinsfile | awk '{ print $1 }')" ]]; then
282282
mkdir -p ${TEMPDIR}/repo
@@ -609,7 +609,7 @@ pipeline {
609609
sh '''#! /bin/bash
610610
set -e
611611
TEMPDIR=$(mktemp -d)
612-
if [ "${MULTIARCH}" == "true" ] && [ "${PACKAGE_CHECK}" == "false" ]; then
612+
if [ "${MULTIARCH}" == "true" ] && [ "${PACKAGE_CHECK}" != "true" ]; then
613613
LOCAL_CONTAINER=${IMAGE}:amd64-${META_TAG}
614614
else
615615
LOCAL_CONTAINER=${IMAGE}:${META_TAG}

0 commit comments

Comments
 (0)