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": [