From 71db73eefaf2dfa2bbe5da38b34aea6b320ddad2 Mon Sep 17 00:00:00 2001 From: David Zager Date: Thu, 6 Jun 2024 17:24:19 -0400 Subject: [PATCH] :seedling: double the ttl on operator image (#329) This should make "rerunning failed" tasks in workflows less likely to fail simply because the image didn't exist anymore. Signed-off-by: David Zager --- .github/workflows/pr-ci.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr-ci.yml b/.github/workflows/pr-ci.yml index a13c1d4..fec3ba6 100644 --- a/.github/workflows/pr-ci.yml +++ b/.github/workflows/pr-ci.yml @@ -6,6 +6,9 @@ on: - main - 'release-*.*' +env: + IMG: ttl.sh/konveyor-operator-${{ github.sha }}:2h + jobs: detect-changes: runs-on: ubuntu-latest @@ -40,8 +43,6 @@ jobs: build-operator: needs: detect-changes runs-on: ubuntu-latest - env: - IMG: ttl.sh/konveyor-operator-${{ github.sha }}:1h steps: - uses: actions/checkout@v3 - run: make docker-build docker-push @@ -50,4 +51,4 @@ jobs: needs: build-operator uses: konveyor/ci/.github/workflows/global-ci-bundle.yml@main with: - operator: ttl.sh/konveyor-operator-${{ github.sha }}:1h + operator: ${{ env.IMG }}