Skip to content

Commit

Permalink
chore: imgs cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
neurosnap committed Jan 18, 2025
1 parent d3e2409 commit be0f293
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
needs: test
strategy:
matrix:
APP: [prose, pastes, imgs, pgs, feeds, pipe]
APP: [prose, pastes, pgs, feeds, pipe]
steps:
- name: Checkout repo
uses: actions/checkout@v3
Expand Down
12 changes: 2 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ bp-%: bp-setup
$(DOCKER_BUILDX_BUILD) --build-arg "APP=$*" -t "ghcr.io/picosh/pico/$*-web:$(DOCKER_TAG)" --target release-web .
.PHONY: bp-%

bp-all: bp-prose bp-pastes bp-imgs bp-feeds bp-pgs bp-auth bp-bouncer bp-pipe
bp-all: bp-prose bp-pastes bp-feeds bp-pgs bp-auth bp-bouncer bp-pipe
.PHONY: bp-all

build-auth:
Expand All @@ -78,7 +78,7 @@ build-%:
go build -o "build/$*-ssh" "./cmd/$*/ssh"
.PHONY: build-%

build: build-prose build-pastes build-imgs build-feeds build-pgs build-auth build-pico build-pipe
build: build-prose build-pastes build-feeds build-pgs build-auth build-pico build-pipe
.PHONY: build

scripts:
Expand Down Expand Up @@ -145,11 +145,3 @@ restore:
$(DOCKER_CMD) exec -it $(DB_CONTAINER) /bin/bash
# psql postgres -U postgres -d pico < /backup.sql
.PHONY: restore

registry-clean:
# https://github.com/distribution/distribution/issues/3200#issuecomment-671062638
# NOTICE: if using s3 you need an empty file inside:
# - `imgs/docker/registry/v2/repositories` and
# - `imgs/docker/registry/v2/blobs`
docker compose exec registry bin/registry garbage-collect /etc/docker/registry/config.yml --delete-untagged
.PHONY: registry-clean

0 comments on commit be0f293

Please sign in to comment.