12 lines
333 B
Bash
Executable file
12 lines
333 B
Bash
Executable file
#!/bin/sh
|
|
|
|
script="$( readlink -f "${0}" )"
|
|
script_dir="$( dirname "${script}" )"
|
|
repo_dir="$( readlink -f "${script_dir}/.." )"
|
|
|
|
docker buildx build \
|
|
--pull --push \
|
|
--file "${script_dir}/.publish/Dockerfile" \
|
|
--tag "code.lenaisten.de/lenaisten/lev-templates:latest" \
|
|
--platform "linux/amd64" \
|
|
"${repo_dir}"
|