File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,11 @@ pipeline {
9494 env. DOCKERHUB_LINK = ' https://hub.docker.com/r/' + env. DOCKERHUB_IMAGE + ' /tags/'
9595 env. PULL_REQUEST = env. CHANGE_ID
9696 env. TEMPLATED_FILES = ' Jenkinsfile README.md LICENSE .editorconfig ./.github/CONTRIBUTING.md ./.github/FUNDING.yml ./.github/ISSUE_TEMPLATE/config.yml ./.github/ISSUE_TEMPLATE/issue.bug.yml ./.github/ISSUE_TEMPLATE/issue.feature.yml ./.github/PULL_REQUEST_TEMPLATE.md ./.github/workflows/external_trigger_scheduler.yml ./.github/workflows/greetings.yml ./.github/workflows/package_trigger_scheduler.yml ./.github/workflows/call_issue_pr_tracker.yml ./.github/workflows/call_issues_cron.yml ./.github/workflows/permissions.yml ./.github/workflows/external_trigger.yml'
97+ if ( env. SYFT_IMAGE_TAG == null ) {
98+ env. SYFT_IMAGE_TAG = ' latest'
99+ }
97100 }
101+ echo " Using syft image tag ${ SYFT_IMAGE_TAG} "
98102 sh ''' #! /bin/bash
99103 echo "The default github branch detected as ${GH_DEFAULT_BRANCH}" '''
100104 script{
@@ -747,6 +751,7 @@ pipeline {
747751 -e WEB_AUTH=\" ${CI_AUTH}\" \
748752 -e WEB_PATH=\" ${CI_WEBPATH}\" \
749753 -e NODE_NAME=\" ${NODE_NAME}\" \
754+ -e SYFT_IMAGE_TAG=\" ${CI_SYFT_IMAGE_TAG:-${SYFT_IMAGE_TAG}}\" \
750755 -t ghcr.io/linuxserver/ci:latest \
751756 python3 test_build.py'''
752757 }
You can’t perform that action at this time.
0 commit comments