File tree Expand file tree Collapse file tree 5 files changed +7
-20
lines changed Expand file tree Collapse file tree 5 files changed +7
-20
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ services:
1010 - ./var/repos:/srv/git
1111
1212 anubis :
13- image : ko.local/ anubis
13+ image : ghcr.io/techarohq/ anubis:devel-docker
1414 environment :
1515 BIND : " :8005"
1616 TARGET : http://cgit:80
Original file line number Diff line number Diff line change 99
1010(
1111 cd ../.. && \
12- npm ci && \
13- npm run assets \
14- ko build --platform=all --base-import-paths --tags=" latest" --image-user=1000 --image-annotation=" " --image-label=" " ./cmd/anubis -L
12+ docker buildx bake
1513)
1614
1715rm -rf ./var/repos ./var/clones
Original file line number Diff line number Diff line change 99
1010(
1111 cd ../.. && \
12- npm ci && \
13- npm run assets \
14- ko build --platform=all --base-import-paths --tags=" latest" --image-user=1000 --image-annotation=" " --image-label=" " ./cmd/anubis -L
12+ docker buildx bake
1513)
1614
15+
1716rm -rf ./var/repos ./var/foo
1817mkdir -p ./var/repos
1918
Original file line number Diff line number Diff line change 99
1010(
1111 cd ../.. && \
12- npm ci && \
13- npm run assets \
14- ko build --platform=all --base-import-paths --tags=" latest" --image-user=1000 --image-annotation=" " --image-label=" " ./cmd/anubis -L
12+ docker buildx bake
1513)
1614
15+
1716docker compose up -d
1817
1918attempt=1
Original file line number Diff line number Diff line change @@ -17,16 +17,7 @@ function build_anubis_ko() {
1717 cd $REPO_ROOT && npm ci && npm run assets
1818 )
1919 (
20- cd $REPO_ROOT &&
21- VERSION=devel ko build \
22- --platform=all \
23- --base-import-paths \
24- --tags=" latest" \
25- --image-user=1000 \
26- --image-annotation=" " \
27- --image-label=" " \
28- ./cmd/anubis \
29- --local
20+ cd $REPO_ROOT && docker buildx bake
3021 )
3122}
3223
You can’t perform that action at this time.
0 commit comments