LLM inference in C/C++
C++ ggml
ci : add "Require Docker" flag to make-release workflow (#29989)
Georgi Gerganov994e8f22221c
diff --git a/.github/workflows/make-release.yml b/.github/workflows/make-release.ymlindex 93df37f0e0..1e2f93960e 100644--- a/.github/workflows/make-release.yml+++ b/.github/workflows/make-release.yml@@ -18,6 +18,11 @@ on:required: falsetype: booleandefault: false+ require_docker:+ description: 'Require the Docker workflow to have completed successfully'+ required: true+ type: boolean+ default: trueapiabi_compare_tag:description: 'Tag to compare against for API/ABI check (default: latest release)'required: false@@ -56,6 +61,7 @@ jobs:RELEASE_BRANCH: ${{ github.ref_name }}SKIP_APIABI_CHECK: ${{ github.event.inputs.skip_apiabi_check }}APIABI_COMPARE_TAG: ${{ github.event.inputs.apiabi_compare_tag }}+ REQUIRE_DOCKER: ${{ github.event.inputs.require_docker }}- name: Create release tagif: ${{ github.event.inputs.dry_run == 'false' }}diff --git a/scripts/make-release-checks.sh b/scripts/make-release-checks.shindex 2b60e870fa..c0b81a1709 100755--- a/scripts/make-release-checks.sh+++ b/scripts/make-release-checks.sh@@ -8,6 +8,7 @@# GH_TOKEN, GITHUB_REPOSITORY, GITHUB_OUTPUT# RELEASE_BRANCH: when set, HEAD must belong to origin/RELEASE_BRANCH and must# not be older than 3 days from the branch HEAD (skipped when unset)+# REQUIRE_DOCKER: set to "false" to skip the container image check (default: true)set -euo pipefailSCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"@@ -126,6 +127,8 @@ if [[ -z "${NIGHTLY_TAG}" ]]; thenecho "Warning: no nightly tag points at ${SHA} - skipping container image check"elif [[ -z "${GITHUB_REPOSITORY:-}" ]]; thenecho "Warning: GITHUB_REPOSITORY not set - skipping container image check (local run)"+elif [[ "${REQUIRE_DOCKER:-true}" != "true" ]]; then+ echo "Require Docker is disabled - skipping container image check"elseCONTAINER_REPO="${GITHUB_REPOSITORY,,}" # lower-case owner/repo for ghcr.ioGHCR_TOKEN="$(curl -fsSL \