17 lines
422 B
Bash
Executable file
17 lines
422 B
Bash
Executable file
#!/bin/sh
|
|
|
|
script="$( readlink -f "${0}" )"
|
|
script_dir="$( dirname "${script}" )"
|
|
|
|
# shellcheck disable=SC1091
|
|
. "${script_dir}/check_version"
|
|
|
|
# defined in `check_version` script
|
|
# shellcheck disable=SC2154
|
|
echo "${git_version}" >/dev/null
|
|
|
|
docker buildx build \
|
|
--pull --push \
|
|
--tag "code.yavook.de/oekzident.de/ovdashboard:${git_version}" \
|
|
--platform "linux/amd64,linux/arm64" \
|
|
"${script_dir}/../.."
|