diff --git a/.drone.yml b/.drone.yml index 4c1991a..801effb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,6 @@ workspace: base: /go - path: src/github.com/JonasFranzDEV/drone-gitea-release + path: src/github.com/drone-plugins/drone-gitea-release pipeline: test: @@ -58,7 +58,7 @@ pipeline: publish_linux_amd64: image: plugins/docker:17.05 pull: true - repo: jonasfranz/gitea-release + repo: plugins/gitea-release tags: [ latest, 1.0.0, 1.0, 1 ] secrets: [ docker_username, docker_password ] when: @@ -68,7 +68,7 @@ pipeline: publish_linux_arm64: image: plugins/docker:17.05 pull: true - repo: jonasfranz/gitea-release + repo: plugins/gitea-release tags: [ linux-arm64 ] secrets: [ docker_username, docker_password ] dockerfile: Dockerfile.arm64 @@ -79,7 +79,7 @@ pipeline: publish_linux_arm: image: plugins/docker:17.05 pull: true - repo: jonasfranz/gitea-release + repo: plugins/gitea-release tags: [ linux-arm ] secrets: [ docker_username, docker_password ] dockerfile: Dockerfile.arm diff --git a/Dockerfile b/Dockerfile index f486410..c2b71a1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ FROM plugins/base:multiarch -MAINTAINER Jonas Franz +MAINTAINER Drone.IO Community LABEL org.label-schema.version=latest -LABEL org.label-schema.vcs-url="https://github.com/JonasFranzDEV/drone-gitea-release.git" +LABEL org.label-schema.vcs-url="https://github.com/drone-plugins/drone-gitea-release.git" LABEL org.label-schema.name="Drone Gitea Release" -LABEL org.label-schema.vendor="Jonas Franz" +LABEL org.label-schema.vendor="Drone.IO Community" LABEL org.label-schema.schema-version="1.0" ADD release/linux/amd64/drone-gitea-release /bin/ diff --git a/Dockerfile.arm b/Dockerfile.arm index 989a9d6..81845bd 100644 --- a/Dockerfile.arm +++ b/Dockerfile.arm @@ -1,10 +1,10 @@ FROM plugins/base:multiarch -MAINTAINER Jonas Franz +MAINTAINER Drone.IO Community LABEL org.label-schema.version=latest -LABEL org.label-schema.vcs-url="https://gitea.com/JonasFranzDEV/drone-gitea-release.git" +LABEL org.label-schema.vcs-url="https://gitea.com/drone-plugins/drone-gitea-release.git" LABEL org.label-schema.name="Drone Gitea Release" -LABEL org.label-schema.vendor="Jonas Franz" +LABEL org.label-schema.vendor="Drone.IO Community" LABEL org.label-schema.schema-version="1.0" ADD release/linux/arm/drone-gitea-release /bin/ diff --git a/Dockerfile.arm64 b/Dockerfile.arm64 index f93bdcb..3adde2c 100644 --- a/Dockerfile.arm64 +++ b/Dockerfile.arm64 @@ -1,10 +1,10 @@ FROM plugins/base:multiarch -MAINTAINER Jonas Franz +MAINTAINER Drone.IO Community LABEL org.label-schema.version=latest -LABEL org.label-schema.vcs-url="https://github.com/JonasFranzDEV/drone-gitea-release.git" +LABEL org.label-schema.vcs-url="https://github.com/drone-plugins/drone-gitea-release.git" LABEL org.label-schema.name="Drone Gitea Release" -LABEL org.label-schema.vendor="Jonas Franz" +LABEL org.label-schema.vendor="Drone.IO Community" LABEL org.label-schema.schema-version="1.0" ADD release/linux/arm64/drone-gitea-release /bin/ diff --git a/Dockerfile.windows b/Dockerfile.windows index 5200f25..c5b4e4e 100644 --- a/Dockerfile.windows +++ b/Dockerfile.windows @@ -1,10 +1,10 @@ FROM microsoft/nanoserver:latest -MAINTAINER Jonas Franz +MAINTAINER Drone.IO Community LABEL org.label-schema.version=latest -LABEL org.label-schema.vcs-url="https://github.com/JonasFranzDEV/drone-gitea-release.git" +LABEL org.label-schema.vcs-url="https://github.com/drone-plugins/drone-gitea-release.git" LABEL org.label-schema.name="Drone Gitea Release" -LABEL org.label-schema.vendor="Jonas Franz" +LABEL org.label-schema.vendor="Drone.IO Community" LABEL org.label-schema.schema-version="1.0" ADD release/windows/amd64/drone-gitea-release /bin/ diff --git a/README.md b/README.md index f8523a5..b624274 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,8 @@ # drone-gitea-release -[![Build Status](https://docker.jonasfranz.software/api/badges/JonasFranzDEV/drone-gitea-release/status.svg)](https://docker.jonasfranz.software/JonasFranzDEV/drone-gitea-release) -[![Go Doc](https://godoc.org/github.com/JonasFranzDEV/drone-gitea-release?status.svg)](http://godoc.org/github.com/JonasFranzDEV/drone-gitea-release) -[![Go Report](https://goreportcard.com/badge/github.com/JonasFranzDEV/drone-gitea-release)](https://goreportcard.com/report/github.com/JonasFranzDEV/drone-gitea-release) - -This project is "work in progress" and **not** ready for production use. +[![Build Status](https://beta.drone.io/api/badges/drone-plugins/drone-gitea-release/status.svg)](https://beta.drone.io/drone-plugins/drone-gitea-release) +[![Go Doc](https://godoc.org/github.com/drone-plugins/drone-gitea-release?status.svg)](http://godoc.org/github.com/drone-plugins/drone-gitea-release) +[![Go Report](https://goreportcard.com/badge/github.com/drone-plugins/drone-gitea-release)](https://goreportcard.com/report/github.com/drone-plugins/drone-gitea-release) Drone plugin to publish files and artifacts to Gitea Release. @@ -13,5 +11,6 @@ Drone plugin to publish files and artifacts to Gitea Release. Build the binary with the following commands: ``` -go build +GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -a -tags netgo -o release/linux/amd64/drone-gitea-release +docker build --rm -t plugins/gitea-release . ``` \ No newline at end of file diff --git a/vendor/vendor.json b/vendor/vendor.json index ba2360a..b3936e7 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -27,5 +27,5 @@ "revisionTime": "2016-08-23T15:25:51Z" } ], - "rootPath": "github.com/JonasFranzDEV/drone-gitea-release" + "rootPath": "github.com/drone-plugins/drone-gitea-release" }