This commit is contained in:
@@ -54,8 +54,13 @@ if docker buildx ls | grep -q "sos-builder"; then
|
||||
fi
|
||||
docker buildx create --name sos-builder --use
|
||||
|
||||
VERSION=$("${EXE_DIR}/simple_object_storage.amd64" version)
|
||||
|
||||
echo "Building multi-platform Docker image"
|
||||
docker buildx build --no-cache --push -t gitea.jde.nz/public/simple-object-storage:latest --platform linux/amd64,linux/arm64 .
|
||||
docker buildx build --no-cache --push \
|
||||
-t gitea.jde.nz/public/simple-object-storage:latest \
|
||||
-t "gitea.jde.nz/public/simple-object-storage:${VERSION}" \
|
||||
--platform linux/amd64,linux/arm64 .
|
||||
|
||||
echo "Build completed successfully!"
|
||||
|
||||
|
Reference in New Issue
Block a user