Compare commits

..

2 Commits

Author SHA1 Message Date
Ompragash Viswanathan 99df93e082 fix int to float 2025-10-14 17:49:17 +05:30
OP (oppenheimer) 77bf8220a3 Update Dockerfile.linux.arm64 2025-10-14 17:29:12 +05:30
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ FROM golang:1.24-alpine as builder
WORKDIR /go/src/drone-email
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
+2 -2
View File
@@ -394,8 +394,8 @@ func run(c *cli.Context) error {
Job: Job{
Status: c.String("job.status"),
ExitCode: c.Int("job.exitCode"),
Started: c.Int64("job.started"),
Finished: c.Int64("job.finished"),
Started: float64(c.Int64("job.started")),
Finished: float64(c.Int64("job.finished")),
},
Yaml: Yaml{
Signed: c.Bool("yaml.signed"),
+2 -2
View File
@@ -72,8 +72,8 @@ type (
Job struct {
Status string
ExitCode int
Started int64
Finished int64
Started float64
Finished float64
}
Yaml struct {