fix docker
This commit is contained in:
parent
b6a91bc36d
commit
f995fc147f
2 changed files with 9 additions and 4 deletions
|
|
@ -1,9 +1,11 @@
|
||||||
FROM golang:1.13 AS builder
|
FROM golang:1.13 AS builder
|
||||||
|
|
||||||
RUN apt-get update && apt-get -y install upx && go get -u github.com/sethvargo/go-githubactions/...
|
RUN apt-get update && apt-get -y install upx
|
||||||
|
|
||||||
ENV GO111MODULE=on CGO_ENABLED=0
|
|
||||||
|
|
||||||
|
#RUN mkdir -p $GOPATH/src/github.com/DTherHtun/google-chat-action
|
||||||
|
#ADD . $GOPATH/src/github.com/DTherHtun/google-chat-action
|
||||||
|
RUN go get -u github.com/sethvargo/go-githubactions/...
|
||||||
|
ENV CGO_ENABLED=0
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN go build \
|
RUN go build \
|
||||||
|
|
|
||||||
|
|
@ -15,3 +15,6 @@ inputs:
|
||||||
runs:
|
runs:
|
||||||
using: 'docker'
|
using: 'docker'
|
||||||
image: 'Dockerfile'
|
image: 'Dockerfile'
|
||||||
|
args:
|
||||||
|
- ${{ inputs.msg }}
|
||||||
|
- ${{ inputs.webhook }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue