Upgrade to Fail2Ban Prometheus Exporter v0.9.2
Semi-automtated minor upgrade of Fail2Ban Prometheus Exporter Docker container by means of Watchtower built for ARM-architecture from source.
v0.9.2
pi@ricardo:~/fail2ban-prometheus-exporter $ git pull
remote: Enumerating objects: 5, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 5 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (5/5), done.
From https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter
235d341..b150442 main -> origin/main
* [new tag] v0.9.2 -> v0.9.2
Updating 235d341..b150442
Fast-forward
go.mod | 4 ++--
go.sum | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
pi@ricardo:~/fail2ban-prometheus-exporter $ make build
CGO_ENABLED=0 go build \
-ldflags "\
-X main.version=v0.9.2 \
-X main.commit=b1504423f4a3be4e471a7465e728bf700d50f3e2 \
-X main.date=2023-08-02T18:03:31+02:00 \
-X main.builtBy=manual \
" \
-o fail2ban_exporter \
exporter.go
go: downloading github.com/prometheus/procfs v0.11.1
go: downloading golang.org/x/sys v0.10.0
pi@ricardo:~/fail2ban-prometheus-exporter $ ./fail2ban_exporter --version
v0.9.2
build date: 2023-08-02T18:03:31+02:00
commit hash: b1504423f4a3be4e471a7465e728bf700d50f3e2
built by: manual
pi@ricardo:~/fail2ban-prometheus-exporter $ docker build -t registry.bierochs.org/hectorjsmith/fail2ban-prometheus-exporter:$(git describe --tags) .
[+] Building 22.4s (8/8) FINISHED docker:default
=> [internal] load .dockerignore 0.1s
=> => transferring context: 2B 0.0s
=> [internal] load build definition from Dockerfile 0.1s
=> => transferring dockerfile: 294B 0.0s
=> [internal] load metadata for docker.io/library/debian:buster-slim 2.5s
=> [1/3] FROM docker.io/library/debian:buster-slim@sha256:cea311dfcd4ec8675f2857b4ddbe03de609580074adf99f4538672bd4478a2cd 14.3s
=> => resolve docker.io/library/debian:buster-slim@sha256:cea311dfcd4ec8675f2857b4ddbe03de609580074adf99f4538672bd4478a2cd 0.1s
=> => sha256:da86dca62e56f790522f6275b1492b402c7934635e9dd0ca1bf2aabb2993b4c7 1.48kB / 1.48kB 0.0s
=> => sha256:e744294d4f6feeafa673e883001a4539ae77771e6b7a913c7f0bdd38a447de77 22.80MB / 22.80MB 5.0s
=> => sha256:cea311dfcd4ec8675f2857b4ddbe03de609580074adf99f4538672bd4478a2cd 984B / 984B 0.0s
=> => sha256:bd04d1de0abdde32b84c9ce2c147a9b8681828d3980d5be46003dfb5ff7330f0 529B / 529B 0.0s
=> => extracting sha256:e744294d4f6feeafa673e883001a4539ae77771e6b7a913c7f0bdd38a447de77 8.6s
=> [internal] load build context 1.5s
=> => transferring context: 12.78MB 1.5s
=> [2/3] WORKDIR /app 2.8s
=> [3/3] COPY fail2ban_exporter /app/fail2ban_exporter 1.2s
=> exporting to image 1.1s
=> => exporting layers 1.1s
=> => writing image sha256:2d6fed2703bb6b3b9b8552a1c85daedccf926af4f59e6882707c63c65ef1b6ca 0.0s
=> => naming to registry.bierochs.org/hectorjsmith/fail2ban-prometheus-exporter:v0.9.2 0.0s
pi@ricardo:~/fail2ban-prometheus-exporter $ docker tag registry.bierochs.org/hectorjsmith/fail2ban-prometheus-exporter:v0.9.2 registry.bierochs.org/hectorjsmith/fail2ban-prometheus-exporter:latest
pi@ricardo:~/fail2ban-prometheus-exporter $ docker push registry.bierochs.org/hectorjsmith/fail2ban-prometheus-exporter:latest
The push refers to repository [registry.bierochs.org/hectorjsmith/fail2ban-prometheus-exporter]
ec5e8ff55ae9: Pushed
baac092dd3ed: Pushed
545cdcd47cf2: Pushed
latest: digest: sha256:a5cc8d7150bafae424ad9988a35dd9f853ce3bc62ec8cb45ddbf8ba92a843d87 size: 947
pi@ricardo:~/fail2ban-prometheus-exporter $ docker push registry.bierochs.org/hectorjsmith/fail2ban-prometheus-exporter:v0.9.2
The push refers to repository [registry.bierochs.org/hectorjsmith/fail2ban-prometheus-exporter]
ec5e8ff55ae9: Layer already exists
baac092dd3ed: Layer already exists
545cdcd47cf2: Layer already exists
v0.9.2: digest: sha256:a5cc8d7150bafae424ad9988a35dd9f853ce3bc62ec8cb45ddbf8ba92a843d87 size: 947