1
0
mirror of https://github.com/nitezs/sub2clash.git synced 2024-12-24 13:34:41 -05:00
sub2clash/.woodpecker/docker.yml
2024-04-23 17:28:05 +08:00

22 lines
476 B
YAML

when:
- event: tag
ref: refs/tags/v*
steps:
- 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
- name: build
image: woodpeckerci/plugin-docker-buildx
settings:
platforms: linux/amd64
repo: nite07/sub2clash
username: nite07
password:
from_secret: docker_password