ping-monitoring

A prometheus exporter to monitor matrix federation with using the existing pingbot infra.
git clone git://archive.git.mtrnord.blog/MTRNord/ping-monitoring.git
Log | Files | Refs | LICENSE

commit 3aad31791e271fdc6eb2700a431bfe11958750a8
parent 2b86b8c99c5b8ec274bc57c2a290fcf1e249a961
Author: MTRNord <mtrnord1@gmail.com>
Date:   Thu, 15 Feb 2024 22:19:00 +0100

Possibly fix tags

Diffstat:
M.github/workflows/build_docker.yaml | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/build_docker.yaml b/.github/workflows/build_docker.yaml @@ -9,7 +9,7 @@ on: # Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds. env: REGISTRY: ghcr.io - IMAGE_NAME: MTRNord/ping-monitoring + IMAGE_NAME: ${{ github.repository }} # There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu. jobs: @@ -42,7 +42,7 @@ jobs: id: meta uses: docker/metadata-action@v5 with: - images: ${{ env.IMAGE_NAME }} + images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} tags: | type=schedule type=ref,event=branch @@ -72,7 +72,7 @@ jobs: context: . outputs: type=image,name=${{ env.IMAGE_NAME }},push-by-digest=true,name-canonical=true,push=true platforms: ${{ matrix.platform }} - tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} build-args: | VERSION=${{ steps.git_info.outputs.VERSION }}