diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c6edb56..7e95d78 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,10 +15,10 @@ jobs: - name: Prepare run: | - docker build --tag ghcr.io/gaming-platform/docker-prometheus:2.45 . + docker build --tag ghcr.io/gaming-platform/docker-prometheus:3.7 . - name: Deploy if: github.ref == 'refs/heads/main' run: | echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u "${{ github.actor }}" --password-stdin - docker push ghcr.io/gaming-platform/docker-prometheus:2.45 + docker push ghcr.io/gaming-platform/docker-prometheus:3.7 diff --git a/Dockerfile b/Dockerfile index 83ffd64..2b81098 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM prom/prometheus:v2.45.0 +FROM prom/prometheus:v3.7.3 # Needed for accessing docker.sock. # Just a workaround here, better handled via file permissions in a production system. diff --git a/README.md b/README.md index fe7d9d4..c052c0f 100644 --- a/README.md +++ b/README.md @@ -11,14 +11,14 @@ This repository provides a `Prometheus` image for the ## Usage __Name__ -`ghcr.io/gaming-platform/docker-mysql:2.45` +`ghcr.io/gaming-platform/docker-prometheus:3.7` __Configuration__ For `docker` service discovery, the container can be configured as follows: ```yaml prometheus: - image: ghcr.io/gaming-platform/docker-prometheus:2.45 + image: ghcr.io/gaming-platform/docker-prometheus:3.7 command: --config.file=/etc/prometheus/docker.yml volumes: - /var/run/docker.sock:/var/run/docker.sock @@ -28,7 +28,7 @@ For `dockerswarm` service discovery, the container can be configured as follows: ```yaml prometheus: - image: ghcr.io/gaming-platform/docker-prometheus:2.45 + image: ghcr.io/gaming-platform/docker-prometheus:3.7 command: --config.file=/etc/prometheus/dockerswarm.yml volumes: - /var/run/docker.sock:/var/run/docker.sock