mirror of
https://github.com/hikhvar/mqtt2prometheus.git
synced 2026-02-14 18:09:53 +00:00
@@ -92,7 +92,7 @@ nfpms:
|
||||
|
||||
dockers:
|
||||
|
||||
- dockerfile: release/Dockerfile.scratch
|
||||
- dockerfile: release/Dockerfile
|
||||
goos: linux
|
||||
goarch: amd64
|
||||
use_buildx: true
|
||||
@@ -104,7 +104,7 @@ dockers:
|
||||
- "ghcr.io/hikhvar/mqtt2prometheus:{{ .Tag }}-amd64"
|
||||
- "ghcr.io/hikhvar/mqtt2prometheus:latest-amd64"
|
||||
|
||||
- dockerfile: release/Dockerfile.scratch
|
||||
- dockerfile: release/Dockerfile
|
||||
goos: linux
|
||||
goarch: arm64
|
||||
use_buildx: true
|
||||
@@ -116,7 +116,7 @@ dockers:
|
||||
- "ghcr.io/hikhvar/mqtt2prometheus:{{ .Tag }}-arm64"
|
||||
- "ghcr.io/hikhvar/mqtt2prometheus:latest-arm64"
|
||||
|
||||
- dockerfile: release/Dockerfile.scratch
|
||||
- dockerfile: release/Dockerfile
|
||||
goos: linux
|
||||
goarch: arm
|
||||
goarm: 6
|
||||
@@ -129,7 +129,7 @@ dockers:
|
||||
- "ghcr.io/hikhvar/mqtt2prometheus:{{ .Tag }}-arm6"
|
||||
- "ghcr.io/hikhvar/mqtt2prometheus:latest-arm6"
|
||||
|
||||
- dockerfile: release/Dockerfile.scratch
|
||||
- dockerfile: release/Dockerfile
|
||||
goos: linux
|
||||
goarch: arm
|
||||
goarm: 6
|
||||
@@ -142,7 +142,7 @@ dockers:
|
||||
- "ghcr.io/hikhvar/mqtt2prometheus:{{ .Tag }}-arm6"
|
||||
- "ghcr.io/hikhvar/mqtt2prometheus:latest-arm6"
|
||||
|
||||
- dockerfile: release/Dockerfile.scratch
|
||||
- dockerfile: release/Dockerfile
|
||||
goos: linux
|
||||
goarch: arm
|
||||
goarm: 7
|
||||
@@ -155,7 +155,7 @@ dockers:
|
||||
- "ghcr.io/hikhvar/mqtt2prometheus:{{ .Tag }}-arm7"
|
||||
- "ghcr.io/hikhvar/mqtt2prometheus:latest-arm7"
|
||||
|
||||
- dockerfile: release/Dockerfile.scratch
|
||||
- dockerfile: release/Dockerfile
|
||||
goos: linux
|
||||
goarch: 386
|
||||
use_buildx: true
|
||||
@@ -167,7 +167,7 @@ dockers:
|
||||
- "ghcr.io/hikhvar/mqtt2prometheus:{{ .Tag }}-386"
|
||||
- "ghcr.io/hikhvar/mqtt2prometheus:latest-386"
|
||||
|
||||
- dockerfile: release/Dockerfile.scratch
|
||||
- dockerfile: release/Dockerfile
|
||||
goos: linux
|
||||
goarch: riscv64
|
||||
use_buildx: true
|
||||
@@ -215,4 +215,4 @@ docker_manifests:
|
||||
- "ghcr.io/hikhvar/mqtt2prometheus:latest-arm6"
|
||||
- "ghcr.io/hikhvar/mqtt2prometheus:latest-arm7"
|
||||
- "ghcr.io/hikhvar/mqtt2prometheus:latest-riscv64"
|
||||
- "ghcr.io/hikhvar/mqtt2prometheus:latest-386"
|
||||
- "ghcr.io/hikhvar/mqtt2prometheus:latest-386"
|
||||
|
||||
4
release/Dockerfile
Normal file
4
release/Dockerfile
Normal file
@@ -0,0 +1,4 @@
|
||||
FROM gcr.io/distroless/static-debian10
|
||||
|
||||
COPY mqtt2prometheus /mqtt2prometheus
|
||||
CMD ["/mqtt2prometheus"]
|
||||
@@ -1,4 +0,0 @@
|
||||
FROM scratch
|
||||
|
||||
COPY mqtt2prometheus /mqtt2prometheus
|
||||
CMD ["/mqtt2prometheus"]
|
||||
Reference in New Issue
Block a user