@ -30,9 +30,10 @@
"jest-backend" : "cross-env TEST_BACKEND=1 jest --config=./config/jest-backend.config.js" ,
"jest-backend" : "cross-env TEST_BACKEND=1 jest --config=./config/jest-backend.config.js" ,
"tsc" : "tsc" ,
"tsc" : "tsc" ,
"vite-preview-dist" : "vite preview --host --config ./config/vite.config.js" ,
"vite-preview-dist" : "vite preview --host --config ./config/vite.config.js" ,
"build-docker" : "npm run build && npm run build-docker-debian ",
"build-docker" : "npm run build && npm run build-docker-debian && npm run build-docker-debian-mariadb ",
"build-docker-debian-base" : "docker buildx build -f docker/debian-base.dockerfile --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma:base-debian . --push" ,
"build-docker-debian-base" : "docker buildx build -f docker/debian-base.dockerfile --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma:base-debian . --push" ,
"build-docker-debian" : "node ./extra/env2arg.js docker buildx build -f docker/dockerfile --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma -t louislam/uptime-kuma:1 -t louislam/uptime-kuma:$VERSION -t louislam/uptime-kuma:debian -t louislam/uptime-kuma:1-debian -t louislam/uptime-kuma:$VERSION-debian --target release . --push" ,
"build-docker-debian" : "node ./extra/env2arg.js docker buildx build -f docker/dockerfile --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma -t louislam/uptime-kuma:1 -t louislam/uptime-kuma:$VERSION -t louislam/uptime-kuma:debian -t louislam/uptime-kuma:1-debian -t louislam/uptime-kuma:$VERSION-debian --target release . --push" ,
"build-docker-debian-mariadb" : "node ./extra/env2arg.js docker buildx build -f docker/dockerfile --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma:mariadb -t louislam/uptime-kuma:1-mariadb -t louislam/uptime-kuma:$VERSION-mariadb --target mariadb . --push" ,
"build-docker-nightly" : "npm run build && docker buildx build -f docker/dockerfile --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma:nightly --target nightly . --push" ,
"build-docker-nightly" : "npm run build && docker buildx build -f docker/dockerfile --platform linux/amd64,linux/arm64,linux/arm/v7 -t louislam/uptime-kuma:nightly --target nightly . --push" ,
"build-docker-nightly-amd64" : "docker buildx build -f docker/dockerfile --platform linux/amd64 -t louislam/uptime-kuma:nightly-amd64 --target nightly . --push --progress plain" ,
"build-docker-nightly-amd64" : "docker buildx build -f docker/dockerfile --platform linux/amd64 -t louislam/uptime-kuma:nightly-amd64 --target nightly . --push --progress plain" ,
"upload-artifacts" : "docker buildx build -f docker/dockerfile --platform linux/amd64 -t louislam/uptime-kuma:upload-artifact --build-arg VERSION --build-arg GITHUB_TOKEN --target upload-artifact . --progress plain" ,
"upload-artifacts" : "docker buildx build -f docker/dockerfile --platform linux/amd64 -t louislam/uptime-kuma:upload-artifact --build-arg VERSION --build-arg GITHUB_TOKEN --target upload-artifact . --progress plain" ,