Skip to content

Commit 8a84f38

Browse files
committed
docker-xml/.github/workflows/maven-dependency-check.yml
1 parent 70061f1 commit 8a84f38

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ jobs:
8686
run: |
8787
set -euo pipefail
8888
IFS=$'\n\t'
89-
# shellcheck disable=SC2086
90-
VERSION="$(\grep ${IMAGE}/Dockerfile -e '^FROM' | \head -n 1 | \sed -e 's/@.*$//; s/^.*://;')"
89+
VERSION="$(\grep "${IMAGE}/Dockerfile" -e '^FROM' | \head -n 1 | \sed -e 's/@.*$//; s/^.*://;')"
9190
if [[ "${VERSION}" =~ ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]\-minimal$ ]] ; then
9291
echo "VERSION=${VERSION/\.[0-9]-minimal/}" >> "${GITHUB_ENV}"
9392
fi

.github/workflows/docker-release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,8 @@ jobs:
6565
run: |
6666
set -euo pipefail
6767
IFS=$'\n\t'
68-
images=""
68+
images=()
6969
for tag in ${TAGS}; do
70-
images+="${tag}@${DIGEST} "
70+
images+=("${tag}@${DIGEST}")
7171
done
72-
# shellcheck disable=SC2086
73-
cosign sign --recursive --yes ${images}
72+
cosign sign --recursive --yes "${images[@]}"

0 commit comments

Comments
 (0)