Skip to content

Commit 695cf94

Browse files
committed
chore: add syft and skopeo to GHA
1 parent f36f832 commit 695cf94

File tree

5 files changed

+187
-166
lines changed

5 files changed

+187
-166
lines changed

.github/workflows/pr.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,17 @@ jobs:
7070
- name: Setup Gradle
7171
uses: gradle/actions/setup-gradle@v4
7272

73+
- name: Setup syft
74+
uses: jaxxstorm/[email protected]
75+
with:
76+
repo: anchore/syft
77+
platform: linux
78+
arch: amd64
79+
# tag: the latest one, so we can catch changes
80+
81+
- name: Setup skopeo
82+
run: sudo apt update && sudo apt-get -y install skopeo
83+
7384
- name: Install project modules
7485
run: npm ci
7586

.github/workflows/stage.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ jobs:
6060
- name: Prepare PNPM
6161
run: corepack prepare pnpm@latest --activate
6262

63-
6463
- name: Setup Java 17
6564
uses: actions/setup-java@v4
6665
with:
@@ -76,6 +75,17 @@ jobs:
7675
- name: Setup Gradle
7776
uses: gradle/gradle-build-action@v3
7877

78+
- name: Setup syft
79+
uses: jaxxstorm/[email protected]
80+
with:
81+
repo: anchore/syft
82+
platform: linux
83+
arch: amd64
84+
# tag: the latest one, so we can catch changes
85+
86+
- name: Setup skopeo
87+
run: sudo apt update && sudo apt-get -y install skopeo
88+
7989
- name: Configure git
8090
run: |
8191
git config user.name "${{ github.actor }}"

0 commit comments

Comments
 (0)