Skip to content

Commit

Permalink
fixup! bundle image nightly build with limitador lastcommit
Browse files Browse the repository at this point in the history
  • Loading branch information
eguzki committed Sep 4, 2024
1 parent f3d7c94 commit 2827cd3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-images-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install qemu dependency
run: |
sudo apt-get update
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
go-version: 1.21.x
id: go
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install qemu dependency
run: |
sudo apt-get update
Expand Down Expand Up @@ -159,7 +159,7 @@ jobs:
go-version: 1.21.x
id: go
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Generate Catalog Content
run: |
make catalog \
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/build-images-branches-2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ jobs:
name: GetDate
runs-on: ubuntu-latest
outputs:
date: ${{ steps.date.outputs.date }}
release_date: ${{ steps.release_date.outputs.release_date }}
steps:
- id: date
run: echo "RELEASE_DATE=nightly-$(date +'%d-%m-%Y')" >> $GITHUB_OUTPUT
- id: release_date
run: echo "release_date=nightly-$(date +'%d-%m-%Y')" >> $GITHUB_OUTPUT
limitador-latest-revision:
name: Get the latest git commit from limitador in the default branch
runs-on: ubuntu-latest
outputs:
limitador_last_hash: ${{ steps.lastcommit.outputs.hash }}
steps:
- id: lastcommit
uses: nmbgeek/[email protected]
Expand All @@ -32,5 +34,5 @@ jobs:
secrets: inherit
with:
operatorVersion: ${{ github.sha }}
operatorTag: ${{ needs.release-date.outputs.RELEASE_DATE }}
limitadorVersion: ${{ needs.limitador-latest-revision.steps.lastcommit.outpus.hash }}
operatorTag: ${{ needs.release-date.outputs.release_date }}
limitadorVersion: ${{ needs.limitador-latest-revision.output.limitador_last_hash }}

0 comments on commit 2827cd3

Please sign in to comment.