mirror of
https://github.com/bestnite/sub2clash.git
synced 2025-07-05 04:12:34 +08:00
mod
This commit is contained in:
10
.woodpecker/docker-nightly.yml
Normal file
10
.woodpecker/docker-nightly.yml
Normal file
@ -0,0 +1,10 @@
|
||||
steps:
|
||||
- name: build
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
platforms: linux/amd64,linux/arm64/v8,linux/arm/v7,linux/386,linux/ppc64le,linux/s390x
|
||||
repo: nite07/sub2clash
|
||||
tag: nightly
|
||||
username: nite07
|
||||
password:
|
||||
from_secret: docker_password
|
13
.woodpecker/docker.yml
Normal file
13
.woodpecker/docker.yml
Normal file
@ -0,0 +1,13 @@
|
||||
when:
|
||||
event: tag
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
platforms: linux/amd64,linux/arm64/v8,linux/arm/v7,linux/386,linux/ppc64le,linux/s390x
|
||||
repo: nite07/sub2clash
|
||||
tag: ${CI_COMMIT_TAG}
|
||||
username: nite07
|
||||
password:
|
||||
from_secret: docker_password
|
18
.woodpecker/release.yml
Normal file
18
.woodpecker/release.yml
Normal file
@ -0,0 +1,18 @@
|
||||
when:
|
||||
event: tag
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: goreleaser/goreleaser:latest
|
||||
commands:
|
||||
- goreleaser release --clean --skip publish
|
||||
- mkdir release
|
||||
- mv dist/*.tar.gz release/
|
||||
- mv dist/*.zip release/
|
||||
- name: release
|
||||
image: woodpeckerci/plugin-gitea-release
|
||||
settings:
|
||||
files: release/*
|
||||
api_key:
|
||||
from_secret: gitea_key
|
||||
base-url: https://git.nite07.com
|
Reference in New Issue
Block a user