File tree Expand file tree Collapse file tree 5 files changed +23
-52
lines changed
Expand file tree Collapse file tree 5 files changed +23
-52
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ Get ghcr-exporter running in minutes!
66
77### 1. Pull the image
88``` bash
9- docker pull ghcr.io/d0ugal/ghcr-exporter:latest
9+ docker pull ghcr.io/d0ugal/ghcr-exporter:v2.0.7
1010```
1111
1212### 2. Create a configuration file
@@ -24,7 +24,7 @@ docker run -d \
2424 --name ghcr-exporter \
2525 -p 8080:8080 \
2626 -v $( pwd) /config.yaml:/app/config.yaml:ro \
27- ghcr.io/d0ugal/ghcr-exporter:latest
27+ ghcr.io/d0ugal/ghcr-exporter:v2.0.7
2828```
2929
3030### 4. Verify it's working
@@ -60,7 +60,7 @@ make build
6060version : ' 3.8'
6161services :
6262 ghcr-exporter :
63- image : ghcr.io/d0ugal/ghcr-exporter:latest
63+ image : ghcr.io/d0ugal/ghcr-exporter:v2.0.7
6464 ports :
6565 - " 8080:8080"
6666 volumes :
Original file line number Diff line number Diff line change 22
33A Prometheus exporter for GitHub Container Registry (GHCR) metrics.
44
5- ** Image** : ` ghcr.io/d0ugal/ghcr-exporter:latest `
5+ ** Image** : ` ghcr.io/d0ugal/ghcr-exporter:v2.0.7 `
66
77## Metrics
88
@@ -30,7 +30,7 @@ A Prometheus exporter for GitHub Container Registry (GHCR) metrics.
3030version : ' 3.8'
3131services :
3232 ghcr-exporter :
33- image : ghcr.io/d0ugal/ghcr-exporter:latest
33+ image : ghcr.io/d0ugal/ghcr-exporter:v2.0.7
3434 ports :
3535 - " 8080:8080"
3636 volumes :
@@ -85,7 +85,7 @@ packages:
8585version: '3.8'
8686services:
8787 ghcr-exporter:
88- image: ghcr.io/d0ugal/ghcr-exporter:latest
88+ image: ghcr.io/d0ugal/ghcr-exporter:v2.0.7
8989 ports:
9090 - "8080:8080"
9191 environment:
@@ -113,7 +113,7 @@ spec:
113113 spec:
114114 containers:
115115 - name: ghcr-exporter
116- image: ghcr.io/d0ugal/ghcr-exporter:latest
116+ image: ghcr.io/d0ugal/ghcr-exporter:v2.0.7
117117 ports:
118118 - containerPort: 8080
119119 env:
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ version: '3.8'
22
33services :
44 ghcr-exporter :
5- image : ghcr.io/d0ugal/ghcr-exporter:latest
5+ image : ghcr.io/d0ugal/ghcr-exporter:v2.0.7
66 container_name : ghcr-exporter
77 ports :
88 - " 8080:8080"
@@ -34,7 +34,7 @@ services:
3434# Example with minimal configuration:
3535# services:
3636# ghcr-exporter:
37- # image: ghcr.io/d0ugal/ghcr-exporter:latest
37+ # image: ghcr.io/d0ugal/ghcr-exporter:v2.0.7
3838# container_name: ghcr-exporter
3939# ports:
4040# - "8080:8080"
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ version: '3.8'
22
33services :
44 ghcr-exporter :
5- image : ghcr.io/d0ugal/ghcr-exporter:latest
5+ image : ghcr.io/d0ugal/ghcr-exporter:v2.0.7
66 container_name : ghcr-exporter
77 ports :
88 - " 8080:8080"
@@ -17,45 +17,4 @@ services:
1717 limits :
1818 memory : 256M
1919 reservations :
20- memory : 128M
21-
22- # Example with Prometheus and Grafana:
23-
24- # services:
25- # ghcr-exporter:
26- # image: ghcr.io/d0ugal/ghcr-exporter:latest
27- # container_name: ghcr-exporter
28- # ports:
29- # - "8080:8080"
30- # volumes:
31- # - ./config.yaml:/app/config.yaml:ro
32- # environment:
33- # - TZ=UTC
34- # restart: unless-stopped
35- # networks:
36- # - monitoring
37- #
38- # prometheus:
39- # image: prom/prometheus:latest
40- # container_name: prometheus
41- # ports:
42- # - "9090:9090"
43- # volumes:
44- # - ./prometheus.yml:/etc/prometheus/prometheus.yml:ro
45- # restart: unless-stopped
46- # networks:
47- # - monitoring
48- #
49- # grafana:
50- # image: grafana/grafana:latest
51- # container_name: grafana
52- # ports:
53- # - "3000:3000"
54- # environment:
55- # - GF_SECURITY_ADMIN_PASSWORD=admin
56- # restart: unless-stopped
57- # networks:
58- # - monitoring
59- #
60- # networks:
61- # monitoring:
20+ memory : 128M
Original file line number Diff line number Diff line change 5454 datasourceTemplate : 'docker' ,
5555 versioningTemplate : 'semver' ,
5656 } ,
57+ {
58+ customType : 'regex' ,
59+ managerFilePatterns : [
60+ '**/*.md' ,
61+ ] ,
62+ matchStrings : [
63+ 'ghcr\\.io/d0ugal/ghcr-exporter:(?<currentValue>v[\\d\\.]+)' ,
64+ ] ,
65+ depNameTemplate : 'ghcr.io/d0ugal/ghcr-exporter' ,
66+ datasourceTemplate : 'docker' ,
67+ versioningTemplate : 'semver' ,
68+ } ,
5769 ] ,
5870}
You can’t perform that action at this time.
0 commit comments