chore: merge avatars service into monorepo

This commit is contained in:
alyssa 2024-10-21 11:42:32 +09:00
parent f427d4d727
commit 17f5561293
27 changed files with 1925 additions and 111 deletions

View file

@ -10,6 +10,7 @@ on:
- 'lib/libpk/**'
- 'services/api/**'
- 'services/gateway/**'
- 'services/avatars/**'
- '.github/workflows/rust.yml'
- 'Dockerfile.rust'
- 'Dockerfile.bin'
@ -47,7 +48,7 @@ jobs:
# add more binaries here
- run: |
for binary in "api" "gateway"; do
for binary in "api" "gateway" "avatars"; do
for tag in latest ${{ env.BRANCH_NAME }} ${{ github.sha }}; do
cat Dockerfile.bin | sed "s/__BINARY__/$binary/g" | docker build -t ghcr.io/pluralkit/$binary:$tag -f - .
done