main
NAS CI/CD Demo
This is a tiny project for testing the NAS Gitea + Woodpecker + Registry flow.
Expected pipeline:
- Push this repository to Gitea.
- Enable the repository in Woodpecker.
- Woodpecker runs
.woodpecker.yml. - The pipeline builds an nginx image.
- The image is pushed to the NAS Registry as:
localhost:5050/cicd-demo:latest
Push To Gitea
Create an empty repository named cicd-demo in Gitea first, then run:
git init
git add .
git commit -m "Add CI demo"
git branch -M main
git remote add origin http://10.26.238.251:3000/<your-gitea-user>/cicd-demo.git
git push -u origin main
Replace <your-gitea-user> with your Gitea username.
Verify The Built Image On NAS
After the Woodpecker build succeeds, run this on the NAS:
docker pull localhost:5050/cicd-demo:latest
docker rm -f cicd-demo-web 2>/dev/null || true
docker run -d --name cicd-demo-web -p 18080:80 localhost:5050/cicd-demo:latest
Open:
http://10.26.238.251:18080
Description
Languages
HTML
96%
Dockerfile
4%