Skip to content

Commit 63ff635

Browse files
scohebclaude
andcommitted
fix(HUM-2061): add shellcheck disable for intentionally unquoted ORAS_OPTIONS
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 71ea333 commit 63ff635

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tasks/internal/filter-already-released-advisory-rpms-task/filter-already-released-advisory-rpms-task.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,13 @@ spec:
194194
195195
echo "Pushing filter results to OCI storage: ${OCI_REF}"
196196
ORAS_OPTS="--annotation=quay.expires-after=1d"
197+
# shellcheck disable=SC2086 -- intentionally unquoted; empty quoted string breaks oras positional args
197198
(cd "$RESULTS_DIR" && oras push ${ORAS_OPTIONS:-} ${ORAS_OPTS} \
198199
--registry-config <(select-oci-auth "${OCI_STORAGE}") \
199200
"${OCI_REF}" "filter-results.tar.gz:application/gzip")
200201
201202
# Get digest for the artifact reference
203+
# shellcheck disable=SC2086 -- intentionally unquoted; empty quoted string breaks oras positional args
202204
DIGEST=$(oras manifest fetch ${ORAS_OPTIONS:-} "${OCI_REF}" \
203205
--registry-config <(select-oci-auth "${OCI_STORAGE}") \
204206
--descriptor | jq -r '.digest')
@@ -303,11 +305,13 @@ spec:
303305
304306
echo "Pushing filter results to OCI storage: ${OCI_REF}"
305307
ORAS_OPTS="--annotation=quay.expires-after=1d"
308+
# shellcheck disable=SC2086 -- intentionally unquoted; empty quoted string breaks oras positional args
306309
(cd "$RESULTS_DIR" && oras push ${ORAS_OPTIONS:-} ${ORAS_OPTS} \
307310
--registry-config <(select-oci-auth "${OCI_STORAGE}") \
308311
"${OCI_REF}" "filter-results.tar.gz:application/gzip")
309312
310313
# Get digest for the artifact reference
314+
# shellcheck disable=SC2086 -- intentionally unquoted; empty quoted string breaks oras positional args
311315
DIGEST=$(oras manifest fetch ${ORAS_OPTIONS:-} "${OCI_REF}" \
312316
--registry-config <(select-oci-auth "${OCI_STORAGE}") \
313317
--descriptor | jq -r '.digest')

0 commit comments

Comments
 (0)