Skip to content

Commit a691b42

Browse files
Merge pull request moby#5226 from crazy-max/ci-scout-result-output
2 parents 280ce6e + ed7303b commit a691b42

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/buildkit.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ env:
2424
GO_VERSION: "1.22"
2525
SETUP_BUILDX_VERSION: "latest"
2626
SETUP_BUILDKIT_IMAGE: "moby/buildkit:latest"
27-
SCOUT_VERSION: "1.11.0"
27+
SCOUT_VERSION: "1.13.0"
2828
IMAGE_NAME: "moby/buildkit"
2929
PLATFORMS: "linux/amd64,linux/arm/v7,linux/arm64,linux/s390x,linux/ppc64le,linux/riscv64"
3030
DESTDIR: "./bin"
@@ -254,6 +254,10 @@ jobs:
254254
version: ${{ env.SCOUT_VERSION }}
255255
format: sarif
256256
image: registry://${{ env.IMAGE_NAME }}:${{ matrix.tag }}
257+
-
258+
name: Result output
259+
run: |
260+
jq . ${{ steps.scout.outputs.result-file }}
257261
-
258262
name: Upload SARIF report
259263
uses: github/codeql-action/upload-sarif@v3

.github/workflows/frontend.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ env:
2222
GO_VERSION: "1.22"
2323
SETUP_BUILDX_VERSION: "latest"
2424
SETUP_BUILDKIT_TAG: "moby/buildkit:latest"
25-
SCOUT_VERSION: "1.11.0"
25+
SCOUT_VERSION: "1.13.0"
2626
IMAGE_NAME: "docker/dockerfile-upstream"
2727
PLATFORMS: "linux/386,linux/amd64,linux/arm/v7,linux/arm64,linux/mips,linux/mipsle,linux/mips64,linux/mips64le,linux/s390x,linux/ppc64le,linux/riscv64"
2828

@@ -158,6 +158,10 @@ jobs:
158158
version: ${{ env.SCOUT_VERSION }}
159159
format: sarif
160160
image: registry://${{ env.IMAGE_NAME }}:${{ matrix.tag }}
161+
-
162+
name: Result output
163+
run: |
164+
jq . ${{ steps.scout.outputs.result-file }}
161165
-
162166
name: Upload SARIF report
163167
uses: github/codeql-action/upload-sarif@v3

0 commit comments

Comments
 (0)