mirror of
https://github.com/thegeeklab/drone-github-comment.git
synced 2024-11-25 20:20:38 +00:00
fix go module and readme
This commit is contained in:
parent
011344a036
commit
8918450a4f
12
README.md
12
README.md
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
Drone CI - Plugin to add comments to GitHub Issues/PRs
|
Drone CI - Plugin to add comments to GitHub Issues/PRs
|
||||||
|
|
||||||
[![Build Status](https://img.shields.io/drone/build/xoxys/drone-github-comment?logo=drone)](https://cloud.drone.io/xoxys/drone-github-comment)
|
[![Build Status](https://img.shields.io/drone/build/thegeeklab/drone-github-comment?logo=drone)](https://cloud.drone.io/thegeeklab/drone-github-comment)
|
||||||
[![Docker Hub](https://img.shields.io/badge/dockerhub-latest-blue.svg?logo=docker&logoColor=white)](https://hub.docker.com/r/xoxys/drone-github-comment)
|
[![Docker Hub](https://img.shields.io/badge/dockerhub-latest-blue.svg?logo=docker&logoColor=white)](https://hub.docker.com/r/thegeeklab/drone-github-comment)
|
||||||
[![Quay.io](https://img.shields.io/badge/quay-latest-blue.svg?logo=docker&logoColor=white)](https://quay.io/repository/thegeeklab/drone-github-comment)
|
[![Quay.io](https://img.shields.io/badge/quay-latest-blue.svg?logo=docker&logoColor=white)](https://quay.io/repository/thegeeklab/drone-github-comment)
|
||||||
[![Source: GitHub](https://img.shields.io/badge/source-github-blue.svg?logo=github&logoColor=white)](https://github.com/xoxys/drone-github-comment)
|
[![Source: GitHub](https://img.shields.io/badge/source-github-blue.svg?logo=github&logoColor=white)](https://github.com/thegeeklab/drone-github-comment)
|
||||||
[![License: MIT](https://img.shields.io/github/license/xoxys/drone-github-comment)]([LICENSE](https://github.com/xoxys/drone-github-comment/blob/master/LICENSE))
|
[![License: MIT](https://img.shields.io/github/license/thegeeklab/drone-github-comment)]([LICENSE](https://github.com/thegeeklab/drone-github-comment/blob/master/LICENSE))
|
||||||
|
|
||||||
Drone plugin to add comments to GitHub Issues/PR's.
|
Drone plugin to add comments to GitHub Issues/PR's.
|
||||||
|
|
||||||
@ -29,7 +29,7 @@ Build the Docker image with the following command:
|
|||||||
docker build \
|
docker build \
|
||||||
--label org.label-schema.build-date=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
|
--label org.label-schema.build-date=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
|
||||||
--label org.label-schema.vcs-ref=$(git rev-parse --short HEAD) \
|
--label org.label-schema.vcs-ref=$(git rev-parse --short HEAD) \
|
||||||
--file docker/Dockerfile.amd64 --tag xoxys/drone-github-comment .
|
--file docker/Dockerfile.amd64 --tag thegeeklab/drone-github-comment .
|
||||||
```
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
@ -44,5 +44,5 @@ docker run --rm \
|
|||||||
-e PLUGIN_MESSAGE="Demo comment" \
|
-e PLUGIN_MESSAGE="Demo comment" \
|
||||||
-v $(pwd):$(pwd) \
|
-v $(pwd):$(pwd) \
|
||||||
-w $(pwd) \
|
-w $(pwd) \
|
||||||
xoxys/drone-github-comment
|
thegeeklab/drone-github-comment
|
||||||
```
|
```
|
||||||
|
@ -2,7 +2,7 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
"github.com/xoxys/drone-github-comment/plugin"
|
"github.com/thegeeklab/drone-github-comment/plugin"
|
||||||
)
|
)
|
||||||
|
|
||||||
// settingsFlags has the cli.Flags for the plugin.Settings.
|
// settingsFlags has the cli.Flags for the plugin.Settings.
|
||||||
|
@ -7,7 +7,7 @@ import (
|
|||||||
"github.com/drone-plugins/drone-plugin-lib/urfave"
|
"github.com/drone-plugins/drone-plugin-lib/urfave"
|
||||||
"github.com/joho/godotenv"
|
"github.com/joho/godotenv"
|
||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
"github.com/xoxys/drone-github-comment/plugin"
|
"github.com/thegeeklab/drone-github-comment/plugin"
|
||||||
)
|
)
|
||||||
|
|
||||||
var version = "unknown"
|
var version = "unknown"
|
||||||
|
Loading…
Reference in New Issue
Block a user