Skip to content

Commit

Permalink
fixup! fixup! fixup! bundle image nightly build with limitador lastco…
Browse files Browse the repository at this point in the history
…mmit
  • Loading branch information
eguzki committed Sep 4, 2024
1 parent 67efed8 commit 0e5916d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build-images-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
default: 0.0.0
type: string
operatorTag:
description: Operator tag
description: Operator bundle tag
default: latest
type: string
limitadorVersion:
Expand All @@ -23,14 +23,18 @@ on:
description: Bundle and catalog channels, comma separated
default: preview
type: string
imageTags:
description: Docker image tags
default: latest
type: string
workflow_dispatch:
inputs:
operatorVersion:
description: Operator bundle version
default: 0.0.0
type: string
operatorTag:
description: Operator tag
description: Operator bundle tag
default: latest
type: string
limitadorVersion:
Expand All @@ -47,7 +51,7 @@ on:
type: string

env:
IMG_TAGS: ${{ inputs.operatorTag }}
IMG_TAGS: ${{ inputs.imageTags || inputs.operatorTag }}
VERSION: ${{ inputs.operatorVersion }}
IMG_REGISTRY_HOST: quay.io
IMG_REGISTRY_ORG: kuadrant
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-images-branches-2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
uses: ./.github/workflows/build-images-base.yaml
secrets: inherit
with:
operatorVersion: ${{ github.sha }}
operatorVersion: 0.0.0
imageTags: ${{ needs.release-date.outputs.release_date }} nightly-latest
operatorTag: ${{ needs.release-date.outputs.release_date }}
limitadorVersion: ${{ needs.limitador-latest-revision.outputs.limitador_last_hash }}
4 changes: 2 additions & 2 deletions .github/workflows/build-images-branches.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ on:

jobs:
workflow-build:
if: github.ref_name != 'main' && !startsWith(github.ref, 'refs/tags/v')
name: Calls build-images-base workflow
uses: ./.github/workflows/build-images-base.yaml
secrets: inherit
with:
operatorVersion: ${{ github.ref_name }}
operatorVersion: 0.0.0
operatorTag: ${{ github.ref_name }}
limitadorVersion: latest
imageTags: ${{ github.ref_name }}
3 changes: 2 additions & 1 deletion .github/workflows/build-images-scheduled.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ jobs:
uses: ./.github/workflows/build-images-base.yaml
secrets: inherit
with:
operatorVersion: ${{ github.sha }}
operatorVersion: 0.0.0
imageTags: ${{ needs.release-date.outputs.RELEASE_DATE }} nightly-latest
operatorTag: ${{ needs.release-date.outputs.RELEASE_DATE }}
limitadorVersion: ${{ needs.limitador-latest-revision.steps.lastcommit.outpus.hash }}

0 comments on commit 0e5916d

Please sign in to comment.