mirror of
https://github.com/nikdoof/hg612-exporter.git
synced 2025-12-27 17:49:22 +00:00
Compare commits
27 Commits
0.1.4
...
renovate/g
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
42f1acc05b | ||
| 23027c5922 | |||
| 3b145da136 | |||
| 92e47a96c8 | |||
| 853d9fc80b | |||
| ba346d4312 | |||
| 32a94cc135 | |||
|
|
92ce7fe969 | ||
| 3e2e47b717 | |||
| b71907227b | |||
|
|
55162b00cd | ||
|
|
31498311b8 | ||
|
|
25033ed3de | ||
|
|
faccf547ba | ||
|
|
581ec5b2ab | ||
|
|
975b1f8fa8 | ||
|
|
aa697e0bc9 | ||
| a0cfcb7c18 | |||
| cd71a06345 | |||
| 6bc8841336 | |||
| 9a854913d7 | |||
|
|
9481bd72bc | ||
|
|
dfec9d8cc8 | ||
|
|
3c0d5ab230 | ||
| d0172e19e1 | |||
|
|
9b728749da | ||
|
|
aa0fb72066 |
8
.github/workflows/build-docker-image.yaml
vendored
8
.github/workflows/build-docker-image.yaml
vendored
@@ -11,11 +11,11 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v2
|
||||
uses: docker/setup-qemu-action@v3
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: Login to GHCR
|
||||
uses: docker/login-action@v2
|
||||
uses: docker/login-action@v3
|
||||
if: github.event_name != 'pull_request'
|
||||
with:
|
||||
registry: ghcr.io
|
||||
@@ -23,7 +23,7 @@ jobs:
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Build and push
|
||||
id: docker_build
|
||||
uses: docker/build-push-action@v3
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
push: true
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||
|
||||
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
@@ -16,8 +16,8 @@ jobs:
|
||||
- goarch: arm64
|
||||
goos: windows
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: wangyoucao577/go-release-action@v1.29
|
||||
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
|
||||
- uses: wangyoucao577/go-release-action@v1.36
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
goos: ${{ matrix.goos }}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
FROM golang:1.18.4-alpine3.16 as build
|
||||
FROM golang:1.20.4-alpine3.16 as build
|
||||
WORKDIR /build
|
||||
COPY . .
|
||||
RUN go get -d -v .
|
||||
RUN go build -v -o hg612-exporter .
|
||||
|
||||
FROM alpine:3.16.0
|
||||
FROM alpine:3.20.2
|
||||
WORKDIR /service
|
||||
COPY --from=build /build/hg612-exporter .
|
||||
ENTRYPOINT ["./hg612-exporter"]
|
||||
4
go.mod
4
go.mod
@@ -4,7 +4,7 @@ go 1.15
|
||||
|
||||
require (
|
||||
github.com/pkg/errors v0.9.1
|
||||
github.com/prometheus/client_golang v1.12.2
|
||||
github.com/sirupsen/logrus v1.8.1
|
||||
github.com/prometheus/client_golang v1.20.5
|
||||
github.com/sirupsen/logrus v1.9.3
|
||||
github.com/urfave/cli/v2 v2.11.0
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user