Skip to content

Scheduled Release #11754

Scheduled Release

Scheduled Release #11754

---
name: "Scheduled Release"
concurrency:
group: container-release
cancel-in-progress: false
on:
workflow_dispatch:
schedule:
- cron: "0 * * * *"
env:
TOKEN: ${{ secrets.TOKEN }}
jobs:
generate-build-matrix:
name: Generate matrix for building images
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.fetch.outputs.changes }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install tools
run: sudo apt-get install moreutils jo
- name: Generate Token
uses: tibdex/github-app-token@3beb63f4bd073e61482598c45c71c1019b59b73a # v2.1.0
id: generate-token
with:
app_id: "${{ secrets.BOT_APP_ID }}"
private_key: "${{ secrets.BOT_APP_PRIVATE_KEY }}"
- name: Fetch new app versions
id: fetch
run: ./.github/scripts/fetch.sh
env:
TOKEN: "${{ steps.generate-token.outputs.token }}"
images-build:
uses: kilip/containers/.github/workflows/action-image-build.yaml@main
if: needs.generate-build-matrix.outputs.matrix != '[]'
needs: ["generate-build-matrix"]
with:
imagesToBuild: "${{ needs.generate-build-matrix.outputs.matrix }}"
pushImages: "true"
updateMetadata: "true"
sendNotification: "true"
secrets: inherit