Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit aa67a41

Browse files
Bot Updating Templated Files
1 parent 8839905 commit aa67a41

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

0 commit comments

Comments
 (0)