mirror of
https://framagit.org/fredix/drone-gotify
synced 2026-07-17 16:35:19 +00:00
drone-gotify on amd64
This commit is contained in:
parent
36681cc50d
commit
728dc2e23a
3 changed files with 13 additions and 3 deletions
10
Dockerfile
Normal file
10
Dockerfile
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
FROM debian:stable
|
||||||
|
MAINTAINER fredix@protonmail.com
|
||||||
|
|
||||||
|
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y --no-install-recommends \
|
||||||
|
ca-certificates && \
|
||||||
|
apt-get clean
|
||||||
|
|
||||||
|
ADD drone-gotify /bin/
|
||||||
|
ENTRYPOINT /bin/drone-gotify
|
||||||
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
## documentations
|
## documentations
|
||||||
|
|
||||||
https://gotify.net/docs/more-pushmsg#golang
|
https://gotify.net/docs/more-pushmsg#golang
|
||||||
https://docs.drone.io/plugins/examples/golang/
|
https://docs.drone.io/plugins/golang/
|
||||||
|
|
||||||
## environment variables :
|
## environment variables :
|
||||||
|
|
||||||
|
|
@ -36,4 +36,4 @@ Example in a .drone.yml
|
||||||
{{/success}}
|
{{/success}}
|
||||||
when:
|
when:
|
||||||
status: [ success, failure ]
|
status: [ success, failure ]
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
"github.com/Sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
"github.com/joho/godotenv"
|
"github.com/joho/godotenv"
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue