Skip to content

Commit

Permalink
fix docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
academo committed Jan 3, 2025
1 parent 454271e commit 64490fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.23-alpine as builder
FROM golang:1.23-alpine AS builder
RUN apk add --no-cache git ca-certificates curl && \
update-ca-certificates

Expand Down
1 change: 1 addition & 0 deletions Magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ func Deploy() error {
return err
}
err = sh.Run("docker", "buildx", "build",
"--network=host", // docker dns keep messing things up
"--platform", "linux/amd64,linux/arm64", // Build for both AMD64 and ARM64
"-t", "academo/grafana-ntfy:"+version,
"-t", "academo/grafana-ntfy:latest",
Expand Down

0 comments on commit 64490fc

Please sign in to comment.