]> git.ipfire.org Git - thirdparty/git.git/commitdiff
ci: set CI_JOB_IMAGE for coverity job
authorJeff King <peff@peff.net>
Fri, 31 Jan 2025 23:30:15 +0000 (18:30 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Feb 2025 17:24:42 +0000 (09:24 -0800)
The main GitHub Actions workflow switched away from the "$distro"
variable in b133d3071a (github: simplify computation of the job's
distro, 2025-01-10). Since the Coverity job also depends on our
ci/install-dependencies.sh script, it needs to likewise set CI_JOB_IMAGE
to find the correct dependencies (without this patch, we don't install
curl and the build fails).

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.github/workflows/coverity.yml

index 48341e81f49066836c838a7c6d38aa6be046ec69..124301dbbe2fc11b51102e6401f8c14f53c5fed2 100644 (file)
@@ -45,7 +45,7 @@ jobs:
       - run: ci/install-dependencies.sh
         if: contains(matrix.os, 'ubuntu') || contains(matrix.os, 'macos')
         env:
-          distro: ${{ matrix.os }}
+          CI_JOB_IMAGE: ${{ matrix.os }}
 
       # The Coverity site says the tool is usually updated twice yearly, so the
       # MD5 of download can be used to determine whether there's been an update.