From 9af489ee44f0c9c21a87ba0d13c7e765d4d7da8b Mon Sep 17 00:00:00 2001 From: Hela Bot Date: Tue, 26 Nov 2024 11:44:12 +0530 Subject: [PATCH] Fixed TTL --- .github/workflows/build.yml | 2 +- index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9a44996..ec11a50 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,4 +28,4 @@ jobs: context: . file: ./Dockerfile push: true - tags: ${{ secrets.DOCKERHUB_USERNAME }}/hela-api:v10 + tags: ${{ secrets.DOCKERHUB_USERNAME }}/hela-api:v11 diff --git a/index.js b/index.js index f5038e1..0993381 100644 --- a/index.js +++ b/index.js @@ -175,7 +175,7 @@ app.post('/git-scan/', async (req, res) => { "name": job_name }, "spec": { - "ttlSecondsAfterFinished": 60, + "ttlSecondsAfterFinished": 3600, "template": { "spec": { "containers": [