Skip to content

Commit b4ae197

Browse files
[WIP] Configure cacert
1 parent dec2fdc commit b4ae197

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/sbom.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ jobs:
129129

130130
- name: Upload SBOMs
131131
run: |
132+
cert_file="$( mktemp )"
133+
echo "${{ secrets.IONOS_CA }}" > ${cert_file}
134+
132135
wc -l bom.*.xml
133136
134137
echo "Upload to: ${{ vars.DEPENDENCY_TRACK_BASE_URL }}/api/v1/bom"
@@ -137,6 +140,7 @@ jobs:
137140
echo "Upload Nextcloud SBOM ${1} for object ${2} ..."
138141
139142
curl \
143+
--cacert "${cert_file}" \
140144
-D- \
141145
-X POST "${{ vars.DEPENDENCY_TRACK_BASE_URL }}/api/v1/bom" \
142146
-H "Content-Type: multipart/form-data" \

0 commit comments

Comments
 (0)