Skip to content

Commit 71db73e

Browse files
authored
🌱 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 <[email protected]>
1 parent ef9eb46 commit 71db73e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/pr-ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- main
77
- 'release-*.*'
88

9+
env:
10+
IMG: ttl.sh/konveyor-operator-${{ github.sha }}:2h
11+
912
jobs:
1013
detect-changes:
1114
runs-on: ubuntu-latest
@@ -40,8 +43,6 @@ jobs:
4043
build-operator:
4144
needs: detect-changes
4245
runs-on: ubuntu-latest
43-
env:
44-
IMG: ttl.sh/konveyor-operator-${{ github.sha }}:1h
4546
steps:
4647
- uses: actions/checkout@v3
4748
- run: make docker-build docker-push
@@ -50,4 +51,4 @@ jobs:
5051
needs: build-operator
5152
uses: konveyor/ci/.github/workflows/global-ci-bundle.yml@main
5253
with:
53-
operator: ttl.sh/konveyor-operator-${{ github.sha }}:1h
54+
operator: ${{ env.IMG }}

0 commit comments

Comments
 (0)