Skip to content

Commit

Permalink
Fix Nightly job (#427)
Browse files Browse the repository at this point in the history
  • Loading branch information
pehala authored Feb 19, 2024
1 parent c0fa2a2 commit 9c55415
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/build-images-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,22 @@ on:
- cron: '0 1 * * *'

jobs:
date:
name: GetDate
runs-on: ubuntu-latest
outputs:
date: ${{ steps.date.outputs.date }}
steps:
- id: date
run: echo "date=nightly-$(date +'%d-%m-%Y')" >> $GITHUB_OUTPUT
workflow-build:
needs: date
name: Calls build-images-base workflow
uses: ./.github/workflows/build-images-base.yaml
secrets: inherit
with:
kuadrantOperatorVersion: ${{ github.sha }}
kuadrantOperatorTag: nightly-$(date +'%d-%m-%Y')
kuadrantOperatorTag: ${{ needs.date.outputs.date }}
authorinoOperatorVersion: ${{ vars.AUTHORINO_OPERATOR_SHA }}
limitadorOperatorVersion: ${{ vars.LIMITADOR_OPERATOR_SHA }}
policyControllerVersion: ${{ vars.POLICY_CONTROLLER_SHA }}
Expand Down

0 comments on commit 9c55415

Please sign in to comment.