From a019b58ca958d0136527592a3e421edd29b4435e Mon Sep 17 00:00:00 2001 From: Christian Hilgenkamp Date: Fri, 21 Mar 2025 15:44:59 +0100 Subject: [PATCH 1/2] Edited workflow to only create image on push branchand not on pull request to reduce created images --- .github/workflows/deployment.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 45beca1..6391f41 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -3,8 +3,6 @@ name: on: push: branches: [ "main" ] - pull_request: - branches: [ "main" ] permissions: contents: read From 18536b157a773893f9bf753953b1f907c9b18ea5 Mon Sep 17 00:00:00 2001 From: Christian Hilgenkamp Date: Fri, 21 Mar 2025 15:45:12 +0100 Subject: [PATCH 2/2] Edited workflow to only create image on push branchand not on pull request to reduce created images --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index e4f9730..d85c055 100644 --- a/main.py +++ b/main.py @@ -9,7 +9,7 @@ from app import input_parser as parser from app.database import get_db -VERSION = "1.1.0" +VERSION = "1.1.1" # Prometheus metrics REQUEST_COUNT = Counter("http_requests_total", "Total HTTP requests", ["method", "endpoint", "status"]) REQUEST_LATENCY = Summary("http_request_latency_seconds", "Request latency in seconds")