Skip to content

Commit

Permalink
fix: get rid of docker dir
Browse files Browse the repository at this point in the history
led to annoying build errors
  • Loading branch information
wbollock committed Dec 4, 2023
1 parent 3f89501 commit 5519fd7
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ dockers:
- "--label=org.opencontainers.image.description='Yet another prometheus ping exporter'"
- "--label=org.opencontainers.image.licenses=MIT"
- "--platform=linux/amd64"
dockerfile: "docker/Dockerfile"
- image_templates:
- "ghcr.io/wbollock/{{.ProjectName}}:{{ .Tag }}-linux-arm64"
use: buildx
Expand All @@ -72,7 +71,6 @@ dockers:
- "--label=org.opencontainers.image.description='Yet another prometheus ping exporter'"
- "--label=org.opencontainers.image.licenses=MIT"
- "--platform=linux/arm64"
dockerfile: "docker/Dockerfile"
nfpms:
- id: default
formats:
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile → Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM golang:alpine3.18 AS builderimage
LABEL maintainer="Will Bollock <wbollock@gmail.com>"
WORKDIR /go/src/ping-exporter
COPY . .
RUN go build -o ping-exporter ../cmd/main.go
RUN go build -o ping-exporter cmd/main.go

###################################################################

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 5519fd7

Please sign in to comment.