docs: remove stale ghcr.io references from releasing.md
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
96c9389c97
commit
bc3b9b9e42
@ -41,15 +41,10 @@ The script (`scripts/release.sh`) performs these steps in order:
|
|||||||
1. **Creates changelog** - Writes `changelog/<version>.md` with date and message
|
1. **Creates changelog** - Writes `changelog/<version>.md` with date and message
|
||||||
2. **Updates deployment** - Patches `deployments/k8s/base/rdev-api.yaml` with new image tag
|
2. **Updates deployment** - Patches `deployments/k8s/base/rdev-api.yaml` with new image tag
|
||||||
3. **Commits and pushes** - Commits changelog and deployment changes to main
|
3. **Commits and pushes** - Commits changelog and deployment changes to main
|
||||||
4. **Builds binary** - Cross-compiles for linux/amd64 with version embedded
|
4. **Triggers Woodpecker** - Push to Gitea triggers CI build automatically
|
||||||
5. **Builds container** - Creates `ghcr.io/orchard9/rdev-api:<version>` image
|
|
||||||
6. **Pushes image** - Uploads to GitHub Container Registry
|
|
||||||
7. **Tags release** - Creates annotated git tag and pushes it
|
|
||||||
|
|
||||||
With `--deploy` flag, it also:
|
> **Note:** The release.sh script is a legacy tool. For normal releases, just push to main
|
||||||
8. **Runs migrations** - Executes all SQL migrations as `rdev` superuser
|
> and let Woodpecker CI handle the build and deploy automatically.
|
||||||
9. **Applies manifest** - `kubectl apply` the deployment YAML
|
|
||||||
10. **Restarts deployment** - Triggers rollout with new image
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
@ -107,19 +102,22 @@ Tags: `latest` and `${CI_COMMIT_SHA:0:8}` (8-char commit hash)
|
|||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
|
|
||||||
### Docker push fails
|
### Woodpecker build fails
|
||||||
|
|
||||||
Ensure you're authenticated to ghcr.io:
|
Check pipeline status via API:
|
||||||
```bash
|
```bash
|
||||||
echo $GITHUB_TOKEN | docker login ghcr.io -u USERNAME --password-stdin
|
WOODPECKER_TOKEN=$(kubectl get secret rdev-credentials -n rdev -o jsonpath='{.data.WOODPECKER_API_TOKEN}' | base64 -d)
|
||||||
|
curl -H "Authorization: Bearer $WOODPECKER_TOKEN" "https://ci.threesix.ai/api/repos/jordan/rdev/pipelines"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Build fails
|
Or view at: https://ci.threesix.ai/jordan/rdev
|
||||||
|
|
||||||
Check Go environment:
|
### Zot registry 503 errors
|
||||||
|
|
||||||
|
Check Zot pod status:
|
||||||
```bash
|
```bash
|
||||||
go version
|
kubectl get pods -n threesix -l app=zot
|
||||||
go env GOOS GOARCH
|
kubectl logs -n threesix zot-0 --tail=50
|
||||||
```
|
```
|
||||||
|
|
||||||
### Git push rejected
|
### Git push rejected
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user