ezshare/.woodpecker/push.yml

19 lines
415 B
YAML
Raw Normal View History

2022-01-03 18:41:01 +00:00
pipeline:
2022-01-05 00:08:20 +00:00
tag:
image: alpine:latest
commands:
- cat ezshare/version.go |grep Vers|cut -d "=" -f2 | tr -d " v\""|xargs echo "latest,"|tr -d " " > .tags
- cat .tags
when:
2022-01-05 00:59:27 +00:00
event: [tag]
2022-01-05 00:08:20 +00:00
publish:
image: plugins/docker
settings:
repo: registry.t-juice.club/ezshare
username: woodpecker
password:
2022-01-05 00:40:59 +00:00
from_secret: registrypass
2022-01-05 00:08:20 +00:00
when:
2022-01-05 00:59:27 +00:00
event: [tag]