Fix shellcheck complaint
This commit is contained in:
parent
28e4ae44fb
commit
c6df6a040a
2
build.sh
2
build.sh
@ -216,7 +216,7 @@ for DOCKER_TARGET in "${DOCKER_TARGETS[@]}"; do
|
|||||||
TARGET_DOCKER_TAG="${TARGET_DOCKER_TAG}-${DOCKER_TARGET}"
|
TARGET_DOCKER_TAG="${TARGET_DOCKER_TAG}-${DOCKER_TARGET}"
|
||||||
fi
|
fi
|
||||||
if [ -n "${GH_ACTION}" ]; then
|
if [ -n "${GH_ACTION}" ]; then
|
||||||
echo "FINAL_DOCKER_TAG=${TARGET_DOCKER_TAG}" >> $GITHUB_ENV
|
echo "FINAL_DOCKER_TAG=${TARGET_DOCKER_TAG}" >> "$GITHUB_ENV"
|
||||||
echo "::set-output name=skipped::false"
|
echo "::set-output name=skipped::false"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -8,6 +8,7 @@ set -e
|
|||||||
umask 002
|
umask 002
|
||||||
|
|
||||||
# Load correct Python3 env
|
# Load correct Python3 env
|
||||||
|
# shellcheck disable=SC1091
|
||||||
source /opt/netbox/venv/bin/activate
|
source /opt/netbox/venv/bin/activate
|
||||||
|
|
||||||
# Try to connect to the DB
|
# Try to connect to the DB
|
||||||
|
Loading…
Reference in New Issue
Block a user