This commit is contained in:
2024-04-17 22:55:04 +08:00
parent b687acb94c
commit abbd7b8b19
3 changed files with 0 additions and 0 deletions

View 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
View 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
View 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