mirror of
https://github.com/harness-community/drone-email.git
synced 2026-06-16 14:50:28 +08:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 99df93e082 | |||
| 77bf8220a3 |
@@ -3,7 +3,7 @@ FROM golang:1.24-alpine as builder
|
|||||||
WORKDIR /go/src/drone-email
|
WORKDIR /go/src/drone-email
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN GOOS=linux GOARCH=arm GOARM=7 CGO_ENABLED=0 go build
|
RUN GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build
|
||||||
|
|
||||||
FROM alpine:3.20
|
FROM alpine:3.20
|
||||||
|
|
||||||
|
|||||||
@@ -394,8 +394,8 @@ func run(c *cli.Context) error {
|
|||||||
Job: Job{
|
Job: Job{
|
||||||
Status: c.String("job.status"),
|
Status: c.String("job.status"),
|
||||||
ExitCode: c.Int("job.exitCode"),
|
ExitCode: c.Int("job.exitCode"),
|
||||||
Started: c.Int64("job.started"),
|
Started: float64(c.Int64("job.started")),
|
||||||
Finished: c.Int64("job.finished"),
|
Finished: float64(c.Int64("job.finished")),
|
||||||
},
|
},
|
||||||
Yaml: Yaml{
|
Yaml: Yaml{
|
||||||
Signed: c.Bool("yaml.signed"),
|
Signed: c.Bool("yaml.signed"),
|
||||||
|
|||||||
Reference in New Issue
Block a user