We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9bcd8e1 + 494667c commit c75ca90Copy full SHA for c75ca90
gh-actions-vars.sh
@@ -41,7 +41,7 @@ MULTIARCH_IMAGE="${BASE_IMAGE}:${GIT_TAG}"
41
42
# To get latest released, cut a release on https://github.com/pi-hole/docker-pi-hole/releases (manually gated for quality control)
43
latest_tag='UNKNOWN'
44
-if ! latest_tag=$(curl -sI https://github.com/pi-hole/docker-pi-hole/releases/latest | grep --color=never -i Location | awk -F / '{print $NF}' | tr -d '[:cntrl:]'); then
+if ! latest_tag=$(curl -sI https://github.com/pi-hole/docker-pi-hole/releases/latest | grep --color=never -i Location: | awk -F / '{print $NF}' | tr -d '[:cntrl:]'); then
45
print "Failed to retrieve latest docker-pi-hole release metadata"
46
else
47
if [[ "${GIT_TAG}" == "${latest_tag}" ]] ; then
0 commit comments