mirror of
https://github.com/TecharoHQ/anubis.git
synced 2026-04-26 01:52:42 +00:00
@@ -10,7 +10,7 @@ services:
|
|||||||
- ./var/repos:/srv/git
|
- ./var/repos:/srv/git
|
||||||
|
|
||||||
anubis:
|
anubis:
|
||||||
image: ko.local/anubis
|
image: ghcr.io/techarohq/anubis:devel-docker
|
||||||
environment:
|
environment:
|
||||||
BIND: ":8005"
|
BIND: ":8005"
|
||||||
TARGET: http://cgit:80
|
TARGET: http://cgit:80
|
||||||
|
|||||||
@@ -9,9 +9,7 @@ set -u
|
|||||||
|
|
||||||
(
|
(
|
||||||
cd ../.. && \
|
cd ../.. && \
|
||||||
npm ci && \
|
docker buildx bake
|
||||||
npm run assets \
|
|
||||||
ko build --platform=all --base-import-paths --tags="latest" --image-user=1000 --image-annotation="" --image-label="" ./cmd/anubis -L
|
|
||||||
)
|
)
|
||||||
|
|
||||||
rm -rf ./var/repos ./var/clones
|
rm -rf ./var/repos ./var/clones
|
||||||
|
|||||||
@@ -9,11 +9,10 @@ set -u
|
|||||||
|
|
||||||
(
|
(
|
||||||
cd ../.. && \
|
cd ../.. && \
|
||||||
npm ci && \
|
docker buildx bake
|
||||||
npm run assets \
|
|
||||||
ko build --platform=all --base-import-paths --tags="latest" --image-user=1000 --image-annotation="" --image-label="" ./cmd/anubis -L
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
rm -rf ./var/repos ./var/foo
|
rm -rf ./var/repos ./var/foo
|
||||||
mkdir -p ./var/repos
|
mkdir -p ./var/repos
|
||||||
|
|
||||||
|
|||||||
@@ -9,11 +9,10 @@ set -u
|
|||||||
|
|
||||||
(
|
(
|
||||||
cd ../.. && \
|
cd ../.. && \
|
||||||
npm ci && \
|
docker buildx bake
|
||||||
npm run assets \
|
|
||||||
ko build --platform=all --base-import-paths --tags="latest" --image-user=1000 --image-annotation="" --image-label="" ./cmd/anubis -L
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
docker compose up -d
|
docker compose up -d
|
||||||
|
|
||||||
attempt=1
|
attempt=1
|
||||||
|
|||||||
+1
-10
@@ -17,16 +17,7 @@ function build_anubis_ko() {
|
|||||||
cd $REPO_ROOT && npm ci && npm run assets
|
cd $REPO_ROOT && npm ci && npm run assets
|
||||||
)
|
)
|
||||||
(
|
(
|
||||||
cd $REPO_ROOT &&
|
cd $REPO_ROOT && docker buildx bake
|
||||||
VERSION=devel ko build \
|
|
||||||
--platform=all \
|
|
||||||
--base-import-paths \
|
|
||||||
--tags="latest" \
|
|
||||||
--image-user=1000 \
|
|
||||||
--image-annotation="" \
|
|
||||||
--image-label="" \
|
|
||||||
./cmd/anubis \
|
|
||||||
--local
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user