1
0
mirror of https://github.com/nitezs/sub2clash.git synced 2024-12-25 01:14:42 -05:00
sub2clash/.woodpecker/docker.yml

22 lines
476 B
YAML
Raw Permalink Normal View History

2024-04-17 09:52:03 -04:00
when:
2024-04-23 05:28:05 -04:00
- event: tag
ref: refs/tags/v*
2024-04-17 09:52:03 -04:00
steps:
2024-04-23 05:28:05 -04:00
- name: prepare-tags
image: bash
commands:
- |
echo "${CI_COMMIT_TAG##v}" > .tags
if ! echo "${CI_COMMIT_TAG}" | grep -Eq "beta|alpha"; then
echo "latest" > .tags
fi
2024-04-17 09:52:03 -04:00
- name: build
image: woodpeckerci/plugin-docker-buildx
settings:
2024-04-23 03:03:21 -04:00
platforms: linux/amd64
2024-04-17 09:52:03 -04:00
repo: nite07/sub2clash
username: nite07
password:
from_secret: docker_password