fix: use plugins/gitea-release for Drone CI/CD
- Replace plugins/github-release with plugins/gitea-release - Fix API endpoint compatibility issue (was using GitHub API v3) - Update base_url to gitea.local.nothaft.cloud - Change secret from GITHUB_TOKEN to GITEA_TOKEN - Update release notes to reference local Gitea URLs This fixes the 401 authentication error when creating releases on Gitea instances. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
+13
-12
@@ -108,14 +108,15 @@ steps:
|
|||||||
- VERSION=${DRONE_TAG}
|
- VERSION=${DRONE_TAG}
|
||||||
- VITE_API_URL=${VITE_API_URL:-/api}
|
- VITE_API_URL=${VITE_API_URL:-/api}
|
||||||
|
|
||||||
# -------- NEW: Create GitHub Release --------
|
# -------- NEW: Create Gitea Release --------
|
||||||
- name: github-release
|
- name: gitea-release
|
||||||
image: plugins/github-release
|
image: plugins/gitea-release
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
settings:
|
settings:
|
||||||
api_key:
|
api_key:
|
||||||
from_secret: GITHUB_TOKEN
|
from_secret: GITEA_TOKEN
|
||||||
|
base_url: https://gitea.local.nothaft.cloud
|
||||||
files: []
|
files: []
|
||||||
title: PicPeak ${DRONE_TAG}
|
title: PicPeak ${DRONE_TAG}
|
||||||
note: |
|
note: |
|
||||||
@@ -123,27 +124,27 @@ steps:
|
|||||||
|
|
||||||
## 🐳 Docker Images
|
## 🐳 Docker Images
|
||||||
|
|
||||||
This release includes Docker images published to GitHub Container Registry:
|
This release includes Docker images published to local registry:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Backend
|
# Backend
|
||||||
docker pull ghcr.io/the-luap/picpeak-backend:${DRONE_TAG}
|
docker pull registry.local.nothaft.cloud/picpeak-backend:${DRONE_TAG}
|
||||||
docker pull ghcr.io/the-luap/picpeak-backend:latest
|
docker pull registry.local.nothaft.cloud/picpeak-backend:latest
|
||||||
|
|
||||||
# Frontend
|
# Frontend
|
||||||
docker pull ghcr.io/the-luap/picpeak-frontend:${DRONE_TAG}
|
docker pull registry.local.nothaft.cloud/picpeak-frontend:${DRONE_TAG}
|
||||||
docker pull ghcr.io/the-luap/picpeak-frontend:latest
|
docker pull registry.local.nothaft.cloud/picpeak-frontend:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
## 📦 What's New
|
## 📦 What's New
|
||||||
|
|
||||||
See the [README](https://github.com/the-luap/picpeak#readme) for features and documentation.
|
See the [README](https://gitea.nothaft.cloud/paul/picpeak#readme) for features and documentation.
|
||||||
|
|
||||||
## 🚀 Quick Start
|
## 🚀 Quick Start
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Clone and deploy
|
# Clone and deploy
|
||||||
git clone https://github.com/the-luap/picpeak.git
|
git clone https://gitea.nothaft.cloud/paul/picpeak.git
|
||||||
cd picpeak
|
cd picpeak
|
||||||
|
|
||||||
# Use the tagged version
|
# Use the tagged version
|
||||||
@@ -152,7 +153,7 @@ steps:
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
For detailed deployment instructions, see the [Deployment Guide](https://github.com/the-luap/picpeak/blob/main/DEPLOYMENT.md).
|
For detailed deployment instructions, see the Deployment Guide in the repository.
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
|
|||||||
Reference in New Issue
Block a user