Skip to content

Commit

Permalink
🌱 double the ttl on operator image (konveyor#329)
Browse files Browse the repository at this point in the history
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 <dzager@redhat.com>
  • Loading branch information
djzager authored Jun 6, 2024
1 parent ef9eb46 commit 71db73e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/pr-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- main
- 'release-*.*'

env:
IMG: ttl.sh/konveyor-operator-${{ github.sha }}:2h

jobs:
detect-changes:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -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
Expand All @@ -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 }}

0 comments on commit 71db73e

Please sign in to comment.