This commit is contained in:
@@ -15,11 +15,6 @@ function title() {
|
|||||||
echo "----------------------------------------"
|
echo "----------------------------------------"
|
||||||
}
|
}
|
||||||
|
|
||||||
function die() {
|
|
||||||
title "error: $1"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------------------------
|
||||||
# build the executable
|
# build the executable
|
||||||
title "Building amd64 executable"
|
title "Building amd64 executable"
|
||||||
@@ -28,7 +23,7 @@ title "Building amd64 executable"
|
|||||||
#------------------------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------------------------
|
||||||
# build the docker image
|
# build the docker image
|
||||||
title "Building docker image"
|
title "Building docker image"
|
||||||
docker buildx build --load -t gitea.jde.nz/public/simple-object-storage:test --platform linux/amd64 .
|
docker buildx build --load -t gitea.jde.nz/public/simple-object-storage:test --platform linux/amd64 "${SCRIPT_DIR}"
|
||||||
|
|
||||||
#------------------------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------------------------
|
||||||
# run the docker container
|
# run the docker container
|
||||||
|
Reference in New Issue
Block a user