Files
2026-06-20 14:33:53 -05:00

35 lines
771 B
Markdown

## Build and Push Images
1. Copy `.env.example` to `.env` and fill in production values.
2. Run the Aspire-native push pipeline:
```powershell
.\deploy\push-images.ps1
```
Or from a POSIX shell:
```sh
sh ./deploy/push-images.sh
```
The shell script expects the Aspire CLI to be installed in that shell. In WSL, install it with the official Aspire installer:
```sh
curl -sSL https://aspire.dev/install.sh | bash
```
Or as a .NET tool:
```sh
dotnet tool install -g Aspire.Cli
```
The script loads `deploy/.env` when it exists, authenticates to `git.recroomarchive.org` using `REGISTRY_USERNAME` and `REGISTRY_TOKEN`, then runs `aspire do push`.
The included `docker-compose.yml` consumes the pushed images:
```powershell
docker compose --env-file .env up -d
```