'Generic Commit'
This commit is contained in:
parent
7715d69352
commit
3af2f6c537
@ -10,6 +10,6 @@ ARCH=$(uname -m)
|
||||
|
||||
# Build multi-platform image and push it
|
||||
docker build \
|
||||
-t "gitea.jde.nz/public/dropshell-build-base:test" \
|
||||
-t "dropshell-build-base:test" \
|
||||
-f "${SCRIPT_DIR}/Dockerfile.dropshell-build-base" \
|
||||
${SCRIPT_DIR}
|
||||
|
@ -10,7 +10,7 @@ ARCH=$(uname -m)
|
||||
|
||||
echo "Publishing dropshell-build-base:test as :latest-${ARCH}..."
|
||||
|
||||
docker tag gitea.jde.nz/public/dropshell-build-base:test gitea.jde.nz/public/dropshell-build-base:latest-${ARCH}
|
||||
docker tag dropshell-build-base:test gitea.jde.nz/public/dropshell-build-base:latest-${ARCH}
|
||||
docker push gitea.jde.nz/public/dropshell-build-base:latest-${ARCH}
|
||||
|
||||
echo "Successfully pushed dropshell-build-base:latest-${ARCH}"
|
||||
|
@ -1,5 +1,5 @@
|
||||
ARG IMAGE_TAG
|
||||
FROM gitea.jde.nz/public/dropshell-build-base:test AS builder
|
||||
FROM dropshell-build-base:test AS builder
|
||||
|
||||
ARG PROJECT
|
||||
ARG CMAKE_BUILD_TYPE=Debug
|
||||
|
@ -11,13 +11,9 @@ output_dir="${SCRIPT_DIR}/output"
|
||||
# Function to build a project
|
||||
build_project() {
|
||||
local project="$1"
|
||||
local build_cmd=(docker build)
|
||||
|
||||
|
||||
local tag="${project}-build"
|
||||
|
||||
"${build_cmd[@]}" \
|
||||
-t "${tag}" \
|
||||
docker build \
|
||||
-t "${project}-build" \
|
||||
-f "${SCRIPT_DIR}/Dockerfile.test-build" \
|
||||
--build-arg PROJECT="${project}" \
|
||||
--build-arg CMAKE_BUILD_TYPE="${CMAKE_BUILD_TYPE}" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user