mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-12-11 06:12:37 +00:00
Compare commits
5 commits
ed53b353cd
...
5cf3b72a02
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5cf3b72a02 | ||
|
|
e9a8e14aa8 | ||
|
|
1b0da4048b | ||
|
|
e61aba8388 | ||
|
|
1815408e73 |
2
.github/workflows/push.yml
vendored
2
.github/workflows/push.yml
vendored
|
|
@ -40,6 +40,8 @@ jobs:
|
|||
VALIDATE_DOCKERFILE: false
|
||||
VALIDATE_GITLEAKS: false
|
||||
VALIDATE_JSCPD: false
|
||||
VALIDATE_TRIVY: false
|
||||
VALIDATE_GITHUB_ACTIONS_ZIZMOR: false
|
||||
FILTER_REGEX_EXCLUDE: (.*/)?(LICENSE|configuration/.*)
|
||||
EDITORCONFIG_FILE_NAME: .editorconfig-checker.json
|
||||
DOCKERFILE_HADOLINT_FILE_NAME: .hadolint.yaml
|
||||
|
|
|
|||
7
build.sh
7
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}
|
||||
|
||||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
services:
|
||||
netbox: &netbox
|
||||
image: docker.io/netboxcommunity/netbox:${VERSION-v4.3-3.3.0}
|
||||
image: docker.io/netboxcommunity/netbox:${VERSION-v4.4-3.4.0}
|
||||
depends_on:
|
||||
- postgres
|
||||
- redis
|
||||
|
|
|
|||
Loading…
Reference in a new issue