mirror of
https://github.com/netbox-community/netbox-docker.git
synced 2025-12-10 13:52:38 +00:00
Compare commits
4 commits
16285f61a3
...
be24409e1a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
be24409e1a | ||
|
|
dd57383091 | ||
|
|
950b74e3e6 | ||
|
|
1815408e73 |
2
.github/workflows/push.yml
vendored
2
.github/workflows/push.yml
vendored
|
|
@ -29,7 +29,7 @@ jobs:
|
||||||
# list of changed files within `super-linter`
|
# list of changed files within `super-linter`
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Lint Code Base
|
- name: Lint Code Base
|
||||||
uses: super-linter/super-linter@v7
|
uses: super-linter/super-linter@v8
|
||||||
env:
|
env:
|
||||||
DEFAULT_BRANCH: develop
|
DEFAULT_BRANCH: develop
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
|
||||||
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.
|
CHECK_ONLY Only checks if the build is needed and sets the GH Action output.
|
||||||
${_GREEN}Default:${_CLEAR} undefined
|
${_GREEN}Default:${_CLEAR} undefined
|
||||||
|
|
||||||
|
NO_CACHE Disables Docker Build Cache.
|
||||||
|
${_GREEN}Default:${_CLEAR} undefined
|
||||||
|
|
||||||
${_BOLD}Examples:${_CLEAR}
|
${_BOLD}Examples:${_CLEAR}
|
||||||
|
|
||||||
|
|
@ -409,7 +412,9 @@ fi
|
||||||
if [ -n "${NO_PROXY}" ]; then
|
if [ -n "${NO_PROXY}" ]; then
|
||||||
DOCKER_BUILD_ARGS+=(--build-arg "no_proxy=${NO_PROXY}")
|
DOCKER_BUILD_ARGS+=(--build-arg "no_proxy=${NO_PROXY}")
|
||||||
fi
|
fi
|
||||||
|
if [ -n "${NO_CACHE}" ]; then
|
||||||
|
DOCKER_BUILD_ARGS+=(--no-cache)
|
||||||
|
fi
|
||||||
DOCKER_BUILD_ARGS+=(--platform "${BUILDX_PLATFORM-linux/amd64}")
|
DOCKER_BUILD_ARGS+=(--platform "${BUILDX_PLATFORM-linux/amd64}")
|
||||||
if [ "${2}" == "--push" ]; then
|
if [ "${2}" == "--push" ]; then
|
||||||
# output type=docker does not work with pushing
|
# output type=docker does not work with pushing
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue