mirror of
https://github.com/nikdoof/aaisp-chaos.git
synced 2025-12-24 23:39:25 +00:00
Compare commits
30 Commits
0.2.2
...
renovate/g
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0bd217aec1 | ||
| 088ec1ea4f | |||
| 4f7966271d | |||
| edfceeed7b | |||
| d72a9c99a4 | |||
|
|
27b403fa48 | ||
|
|
4a03c07093 | ||
|
|
b61f6a14af | ||
| 50b7701c77 | |||
|
|
fa9919c88b | ||
|
|
8a35e17233 | ||
|
10ac1d13b9
|
|||
| c80f4dcc66 | |||
| 48fea3fe80 | |||
| d71bcc4d56 | |||
|
|
b37adf0b61 | ||
| 40643079b6 | |||
| bbfc3b67b8 | |||
| 6f3887a3e2 | |||
| 7552505b99 | |||
| ecbf98700d | |||
|
|
e90a87a435 | ||
| f85eafdf16 | |||
|
|
9b914f9f12 | ||
|
|
9a37b06aeb | ||
|
|
ee938d3759 | ||
|
|
4cefdcd89e | ||
|
|
f682e87555 | ||
|
|
22f41f8273 | ||
|
|
c8821a2a9c |
9
.github/workflows/build-docker-image.yaml
vendored
9
.github/workflows/build-docker-image.yaml
vendored
@@ -12,11 +12,11 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
uses: docker/setup-qemu-action@v2
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
uses: docker/setup-buildx-action@v2
|
||||
- name: Login to GHCR
|
||||
uses: docker/login-action@v1
|
||||
uses: docker/login-action@v2
|
||||
if: github.event_name != 'pull_request'
|
||||
with:
|
||||
registry: ghcr.io
|
||||
@@ -24,9 +24,10 @@ jobs:
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Build and push
|
||||
id: docker_build
|
||||
uses: docker/build-push-action@v2
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
push: true
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||
tags: |
|
||||
ghcr.io/${{ github.repository_owner }}/aaisp-exporter:${{ github.ref_name }}
|
||||
ghcr.io/${{ github.repository_owner }}/aaisp-exporter:latest
|
||||
|
||||
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
@@ -17,12 +17,12 @@ jobs:
|
||||
goos: windows
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: wangyoucao577/go-release-action@v1.26
|
||||
- uses: wangyoucao577/go-release-action@v1.36
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
goos: ${{ matrix.goos }}
|
||||
goarch: ${{ matrix.goarch }}
|
||||
goversion: "https://dl.google.com/go/go1.18.1.linux-amd64.tar.gz"
|
||||
goversion: "https://dl.google.com/go/go1.18.4.linux-amd64.tar.gz"
|
||||
project_path: "./cmd/aaisp_exporter"
|
||||
binary_name: "aaisp_exporter"
|
||||
extra_files: LICENSE cmd/aaisp_exporter/README.md
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
FROM golang:1.18.1-alpine3.15 as build
|
||||
FROM golang:1.18.4-alpine3.16 as build
|
||||
WORKDIR /build
|
||||
COPY . .
|
||||
RUN go get -d -v .
|
||||
RUN go build -v ./cmd/aaisp_exporter
|
||||
|
||||
FROM alpine:3.15.4
|
||||
FROM alpine:3.17.2
|
||||
WORKDIR /service
|
||||
COPY --from=build /build/aaisp_exporter .
|
||||
ENTRYPOINT ["./aaisp_exporter"]%
|
||||
ENTRYPOINT ["./aaisp_exporter"]
|
||||
4
go.mod
4
go.mod
@@ -3,6 +3,6 @@ module github.com/jamesog/aaisp-chaos
|
||||
go 1.13
|
||||
|
||||
require (
|
||||
github.com/prometheus/client_golang v1.12.1
|
||||
github.com/rs/zerolog v1.26.1
|
||||
github.com/prometheus/client_golang v1.20.5
|
||||
github.com/rs/zerolog v1.27.0
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user