2023-02-18 13:11:16 +00:00
|
|
|
pipeline:
|
2023-03-10 10:58:21 +00:00
|
|
|
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
|
2023-02-18 13:11:16 +00:00
|
|
|
deploy:
|
2023-03-10 10:58:21 +00:00
|
|
|
when:
|
|
|
|
branch: master
|
2023-02-18 13:11:16 +00:00
|
|
|
image: alpine:3.13
|
|
|
|
volumes:
|
|
|
|
- /var/web/live/:/deploy
|
|
|
|
commands:
|
|
|
|
- cp index.html /deploy
|