21 lines
443 B
YAML
21 lines
443 B
YAML
pipeline:
|
|
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:
|
|
event: [tag]
|
|
tag: v*
|
|
|
|
publish:
|
|
image: plugins/docker
|
|
settings:
|
|
repo: registry.t-juice.club/ezshare
|
|
username: woodpecker
|
|
password:
|
|
from_secret: registrypass
|
|
when:
|
|
event: [tag]
|
|
tag: v*
|