mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-12-10 13:52:38 +00:00
Compare commits
6 commits
a4455bf48a
...
072d200f97
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
072d200f97 | ||
|
|
a229603d90 | ||
|
|
942fc04776 | ||
|
|
b76bd3d780 | ||
|
|
4744eeb3ef | ||
|
|
1815408e73 |
9
build.sh
9
build.sh
|
|
@ -104,6 +104,9 @@ GH_ACTION If defined, special 'echo' statements are enabled that set the
|
|||
|
||||
CHECK_ONLY Only checks if the build is needed and sets the GH Action output.
|
||||
${_GREEN}Default:${_CLEAR} undefined
|
||||
|
||||
NO_CACHE Disables Docker Build Cache.
|
||||
${_GREEN}Default:${_CLEAR} undefined
|
||||
|
||||
${_BOLD}Examples:${_CLEAR}
|
||||
|
||||
|
|
@ -223,7 +226,7 @@ fi
|
|||
###
|
||||
# Variables for labelling the docker image
|
||||
###
|
||||
BUILD_DATE="$(date -u '+%Y-%m-%dT%H:%M+00:00')"
|
||||
BUILD_DATE="$(date -u '+%Y-%m-%dT%H:%M:%S+00:00')"
|
||||
|
||||
if [ -d ".git" ] && [ -z "${SKIP_GIT}" ]; then
|
||||
GIT_REF="$(git rev-parse HEAD)"
|
||||
|
|
@ -409,7 +412,9 @@ fi
|
|||
if [ -n "${NO_PROXY}" ]; then
|
||||
DOCKER_BUILD_ARGS+=(--build-arg "no_proxy=${NO_PROXY}")
|
||||
fi
|
||||
|
||||
if [ -n "${NO_CACHE}" ]; then
|
||||
DOCKER_BUILD_ARGS+=(--no-cache)
|
||||
fi
|
||||
DOCKER_BUILD_ARGS+=(--platform "${BUILDX_PLATFORM-linux/amd64}")
|
||||
if [ "${2}" == "--push" ]; then
|
||||
# output type=docker does not work with pushing
|
||||
|
|
|
|||
|
|
@ -3,4 +3,4 @@ dulwich==0.24.1
|
|||
python3-saml==1.16.0
|
||||
--no-binary lxml
|
||||
--no-binary xmlsec
|
||||
sentry-sdk[django]==2.37.0
|
||||
sentry-sdk[django]==2.37.1
|
||||
|
|
|
|||
Loading…
Reference in a new issue