We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97c2588 commit 39a5be3Copy full SHA for 39a5be3
2 files changed
.github/workflows/docker-build-push.yml
@@ -86,8 +86,7 @@ jobs:
86
run: |
87
set -euo pipefail
88
IFS=$'\n\t'
89
- # shellcheck disable=SC2086
90
- VERSION="$(\grep ${IMAGE}/Dockerfile -e '^FROM' | \head -n 1 | \sed -e 's/@.*$//; s/^.*://;')"
+ VERSION="$(\grep "${IMAGE}/Dockerfile" -e '^FROM' | \head -n 1 | \sed -e 's/@.*$//; s/^.*://;')"
91
if [[ "${VERSION}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] ; then
92
echo "VERSION=${VERSION}" >> "${GITHUB_ENV}"
93
fi
.github/workflows/docker-release.yml
@@ -65,9 +65,8 @@ jobs:
65
66
67
68
- images=""
+ images=()
69
for tag in ${TAGS}; do
70
- images+="${tag}@${DIGEST} "
+ images+=("${tag}@${DIGEST}")
71
done
72
73
- cosign sign --recursive --yes ${images}
+ cosign sign --recursive --yes "${images[@]}"
0 commit comments