24 lines
553 B
YAML
24 lines
553 B
YAML
pipeline:
|
|
build:
|
|
image: plugins/docker
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
settings:
|
|
registry: gitea.malloc.hackerbots.net
|
|
repo: gitea.malloc.hackerbots.net/tdfischer/hackerbots-live
|
|
daemon_off: true
|
|
#auto_tag: true
|
|
#tags: latest
|
|
username:
|
|
from_secret: GITEA_USERNAME
|
|
password:
|
|
from_secret: GITEA_PASSWORD
|
|
deploy:
|
|
when:
|
|
branch: master
|
|
image: alpine:3.13
|
|
volumes:
|
|
- /var/web/live/:/deploy
|
|
commands:
|
|
- cp index.html /deploy
|