faster docker build time

This commit is contained in:
renzynx 2022-12-25 23:36:27 +07:00
parent c5e6c6298f
commit 7e5fabe3ac
2 changed files with 6 additions and 5 deletions

3
.github/README.md vendored
View File

@ -31,7 +31,8 @@ wget https://cdn.amog-us.club/docker-compose.yml
```
Fill in the `docker-compose.yml` environment with the appropriate values.
To use arm64 change the image to `ghcr.io/renzynx/bliss:latest-arm64` and `ghcr.io/renzynx/web:latest-arm64`
<br>
For arm64 CPUs like the Raspberry Pi 4 change the image to `ghcr.io/renzynx/bliss:latest-arm64` and `ghcr.io/renzynx/web:latest-arm64`.
```bash
docker compose up -d

View File

@ -47,7 +47,7 @@ jobs:
context: ./api
file: ./api/Dockerfile
push: true
tags: ghcr.io/renzynx/bliss:dev
tags: ghcr.io/renzynx/bliss:latest
cache-from: type=gha
cache-to: type=gha,mode=max
@ -84,7 +84,7 @@ jobs:
context: ./api
file: ./api/Dockerfile
push: true
tags: ghcr.io/renzynx/bliss:dev-arm64
tags: ghcr.io/renzynx/bliss:latest-arm64
cache-from: type=gha
cache-to: type=gha,mode=max
@ -119,7 +119,7 @@ jobs:
context: ./web
file: ./web/Dockerfile
push: true
tags: ghcr.io/renzynx/web:dev
tags: ghcr.io/renzynx/latest:dev
cache-from: type=gha
cache-to: type=gha,mode=max
@ -154,6 +154,6 @@ jobs:
context: ./web
file: ./web/Dockerfile
push: true
tags: ghcr.io/renzynx/web:dev-arm64
tags: ghcr.io/renzynx/web:latest-arm64
cache-from: type=gha
cache-to: type=gha,mode=max