- commit
- be0f293
- parent
- d3e2409
- author
- Eric Bower
- date
- 2025-01-18 08:40:12 -0500 EST
chore: imgs cleanup
2 files changed,
+3,
-11
+1,
-1
1@@ -27,7 +27,7 @@ jobs:
2 needs: test
3 strategy:
4 matrix:
5- APP: [prose, pastes, imgs, pgs, feeds, pipe]
6+ APP: [prose, pastes, pgs, feeds, pipe]
7 steps:
8 - name: Checkout repo
9 uses: actions/checkout@v3
M
Makefile
+2,
-10
1@@ -62,7 +62,7 @@ bp-%: bp-setup
2 $(DOCKER_BUILDX_BUILD) --build-arg "APP=$*" -t "ghcr.io/picosh/pico/$*-web:$(DOCKER_TAG)" --target release-web .
3 .PHONY: bp-%
4
5-bp-all: bp-prose bp-pastes bp-imgs bp-feeds bp-pgs bp-auth bp-bouncer bp-pipe
6+bp-all: bp-prose bp-pastes bp-feeds bp-pgs bp-auth bp-bouncer bp-pipe
7 .PHONY: bp-all
8
9 build-auth:
10@@ -78,7 +78,7 @@ build-%:
11 go build -o "build/$*-ssh" "./cmd/$*/ssh"
12 .PHONY: build-%
13
14-build: build-prose build-pastes build-imgs build-feeds build-pgs build-auth build-pico build-pipe
15+build: build-prose build-pastes build-feeds build-pgs build-auth build-pico build-pipe
16 .PHONY: build
17
18 scripts:
19@@ -145,11 +145,3 @@ restore:
20 $(DOCKER_CMD) exec -it $(DB_CONTAINER) /bin/bash
21 # psql postgres -U postgres -d pico < /backup.sql
22 .PHONY: restore
23-
24-registry-clean:
25- # https://github.com/distribution/distribution/issues/3200#issuecomment-671062638
26- # NOTICE: if using s3 you need an empty file inside:
27- # - `imgs/docker/registry/v2/repositories` and
28- # - `imgs/docker/registry/v2/blobs`
29- docker compose exec registry bin/registry garbage-collect /etc/docker/registry/config.yml --delete-untagged
30-.PHONY: registry-clean