File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -130,18 +130,18 @@ jobs:
130130 run : |
131131 wc --total=never -l bom.*.xml
132132
133- echo "Upload to: ${DEPENDENCY_TRACK_BASE_URL}/api/v1/bom"
133+ echo "Upload to: ${{ vars. DEPENDENCY_TRACK_BASE_URL } }/api/v1/bom"
134134
135135 upload_bom() {
136136 echo "Upload Nextcloud SBOM ${1} for object ${2} ..."
137137
138138 curl \
139139 -D- \
140- -X POST "${DEPENDENCY_TRACK_BASE_URL}/api/v1/bom" \
140+ -X POST "${{ vars. DEPENDENCY_TRACK_BASE_URL } }/api/v1/bom" \
141141 -H "Content-Type: multipart/form-data" \
142- -H "X-API-Key: ${DEPENDENCY_TRACK_API_KEY}" \
142+ -H "X-API-Key: ${{ secrets. DEPENDENCY_TRACK_API_KEY } }" \
143143 -F "project=${2}" \
144144 -F "bom=@${1}"
145145 }
146146
147- upload_bom "bom.nextcloud.xml" "${DT_OBJECT_NEXTCLOUD}"
147+ upload_bom "bom.nextcloud.xml" "${{ vars. DT_OBJECT_NEXTCLOUD } }"
You can’t perform that action at this time.
0 commit comments