Scripts: Add shellcheck annotations and fix reported issues

Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
Michael Mayer
2025-10-07 22:32:31 +02:00
parent ab60112f99
commit 87b540b438
23 changed files with 53 additions and 32 deletions

View File

@@ -1,5 +1,7 @@
#!/usr/bin/env bash
# shellcheck disable=SC2086 # intentional word splitting for dynamic docker args
set -e
# see https://docs.docker.com/develop/develop-images/build_enhancements/#to-enable-buildkit-builds

View File

@@ -1,5 +1,7 @@
#!/usr/bin/env bash
# shellcheck disable=SC2086 # intentional word splitting for dynamic docker args
# https://docs.docker.com/develop/develop-images/build_enhancements/#to-enable-buildkit-builds
export DOCKER_BUILDKIT=1

View File

@@ -1,5 +1,7 @@
#!/usr/bin/env bash
# shellcheck disable=SC2086 # intentional word splitting for dynamic docker args
# https://docs.docker.com/develop/develop-images/build_enhancements/#to-enable-buildkit-builds
export DOCKER_BUILDKIT=1

View File

@@ -1,5 +1,7 @@
#!/usr/bin/env bash
# shellcheck disable=SC2086 # intentional word splitting for dynamic docker args
set -e
if [[ -z $DOCKER_PASSWORD ]] || [[ -z $DOCKER_USERNAME ]]; then