Skip to content

Commit

Permalink
ci: fix prerelease conditional
Browse files Browse the repository at this point in the history
I think what was happening here is a string roundtrip making these steps
unconditionally true.

Signed-off-by: Hank Donnay <hdonnay@redhat.com>
  • Loading branch information
hdonnay committed Mar 22, 2022
1 parent 65dcc39 commit 45443c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cut-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,10 @@ jobs:
tags: |
quay.io/${{ needs.config.outputs.image_repo }}:${{ needs.config.outputs.image_tag }}
- name: Checkout
if: needs.config.outputs.is_prerelease
if: needs.config.outputs.is_prerelease == 'true'
uses: actions/checkout@v3
- name: Set Expiration
if: needs.config.outputs.is_prerelease
if: needs.config.outputs.is_prerelease == 'true'
uses: ./.github/actions/set-image-expiration
with:
repo: ${{ needs.config.outputs.image_repo }}
Expand Down

0 comments on commit 45443c8

Please sign in to comment.