Skip to content

Commit 18aab64

Browse files
Merge pull request #15 from Kong/chore/bump-sbom-action
chore(sbom-action): bump sbom action to 0.13.4
2 parents ef2a5c2 + 8d0f0ad commit 18aab64

File tree

2 files changed

+29
-2
lines changed

2 files changed

+29
-2
lines changed

.github/workflows/test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Test Shared Actions
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
push:
8+
branches:
9+
- main
10+
11+
jobs:
12+
test-scan-docker-image:
13+
name: Test Scan Docker Image
14+
runs-on: ubuntu-22.04
15+
steps:
16+
- uses: actions/checkout@v3
17+
18+
- name: Login to DockerHub
19+
if: success()
20+
uses: docker/login-action@v2
21+
with:
22+
username: ${{ secrets.GHA_DOCKERHUB_PULL_USER }}
23+
password: ${{ secrets.GHA_KONG_ORG_DOCKERHUB_PUBLIC_TOKEN }}
24+
25+
- uses: ./security-actions/scan-docker-image
26+
with:
27+
image: kong/kong-gateway-dev:latest # no particular reason for the choice of image or tag, just an image for tests

security-actions/scan-docker-image/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ runs:
7171

7272
# Must upload artifact for output file parameter to have effect
7373
- name: Generate SPDX SBOM Using Syft
74-
uses: anchore/sbom-action@v0.13.3
74+
uses: anchore/sbom-action@v0.13.4
7575
id: sbom_spdx
7676
with:
7777
image: ${{ steps.meta.outputs.scan_image }}
@@ -87,7 +87,7 @@ runs:
8787
dependency-snapshot: false
8888

8989
- name: Generate CycloneDX SBOM Using Syft
90-
uses: anchore/sbom-action@v0.13.3
90+
uses: anchore/sbom-action@v0.13.4
9191
id: sbom_cyclonedx
9292
with:
9393
image: ${{ steps.meta.outputs.scan_image }}

0 commit comments

Comments
 (0)