CI/CD workshop
mkdir -p gitea/{data,config}
cd gitea
touch docker-compose.yml
# chnage permission
chmod 777 config/ data/
cd gitea && docker-compose up -d gitea-server
How to enable Gitea Actions. open config/app.ini
file. add following lines.
[actions]
ENABLED=true
[webhook]
ALLOWED_HOST_LIST = your_server_ip
Start Global Gitea Runner
cd gitea && mkdir -p data/act_runner
cd gitea && chmod 777 data/act_runner
cd gitea && docker-compose up -d gitea-runner
Start User's Gitea Runner
cd gitea && mkdir -p data/act_user_runner
cd gitea && chmod 777 data/act_user_runner
cd gitea && docker-compose up -d gitea-user-runner