mirror of
https://github.com/MeshCore-Beacon/beacon-web.git
synced 2026-10-23 12:12:34 +00:00
fix: github workflow, post images publically
This commit is contained in:
1 parent
ad7b485913
commit
a618a28014
2 files changed
+10
-9
No files matched your search
@@ -33,6 +33,10 @@ jobs:
|
||||
uses: docker/metadata-action@v5
|
||||
with:
|
||||
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
||||
labels: |
|
||||
org.opencontainers.image.title=beacon-web
|
||||
org.opencontainers.image.description=Beacon Web — real-time LoRa mesh packet analyzer
|
||||
org.opencontainers.image.licenses=AGPL-3.0-or-later
|
||||
tags: |
|
||||
type=raw,value=latest,enable={{is_default_branch}}
|
||||
type=raw,value=dev,enable=${{ github.ref == 'refs/heads/dev' }}
|
||||
|
||||
@@ -33,20 +33,17 @@ EOF
|
||||
| `VITE_API_BASE` | Backend REST API base URL |
|
||||
| `VITE_WS_URL` | Backend WebSocket URL |
|
||||
|
||||
### 3. Authenticate with GitHub Container Registry
|
||||
|
||||
```bash
|
||||
docker login ghcr.io -u YOUR_GITHUB_USERNAME
|
||||
```
|
||||
|
||||
Use a Personal Access Token (classic) with `read:packages` scope as the password. You only need to do this once.
|
||||
|
||||
### 4. Start the services
|
||||
### 3. Start the services
|
||||
|
||||
```bash
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
The images are public on GitHub Container Registry — no `docker login` required.
|
||||
If a pull fails with `403 Forbidden`, the package visibility has regressed to
|
||||
Private; a maintainer needs to set it back to Public (see the troubleshooting note
|
||||
in [beacon-docs](https://github.com/MeshCore-Beacon/beacon-docs)).
|
||||
|
||||
Caddy will automatically obtain a TLS certificate for your domain. Ensure DNS is pointed at your server before starting.
|
||||
|
||||
## Local Development
|
||||
|
||||
Reference in new issue
Block a user