Skip to content

Commit 70061f1

Browse files
committed
ci(gh-actions): bash strict mode
1 parent 0aa1197 commit 70061f1

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/docker-build-push.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,11 @@ jobs:
7575
run: |
7676
set -euo pipefail
7777
IFS=$'\n\t'
78-
images=""
78+
images=()
7979
for tag in ${TAGS}; do
80-
images+="${tag}@${DIGEST} "
80+
images+=("${tag}@${DIGEST}")
8181
done
82-
# shellcheck disable=SC2086
83-
cosign sign --recursive --yes ${images}
82+
cosign sign --recursive --yes "${images[@]}"
8483
- name: Set VERSION
8584
if: github.ref == 'refs/heads/main'
8685
shell: bash

0 commit comments

Comments
 (0)