Gitea and Drone-CI
Export the domain environment variable:
$ export DOMAIN=""
Deploy the stack:
$ docker stack deploy -c docker-compose.yml ci
- https://gitea.${DOMAIN}
- https://drone.${DOMAIN} (auth: will use administrator account from gitea setup)
.drone.yml
kind: pipeline
name: default
steps:
- name: frontend
image: alpine
group: build
commands:
- echo hello frontend
- echo $$HOSTNAME
- name: backend
image: alpine
group: build
commands:
- echo hello backend
- echo $$HOSTNAME
Drone-CI:
Gitea: