Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

azure-nightly-build

azure-nightly-build #2

name: azure-nightly-build
on:
schedule:
# Runs "at midnight every day" (see https://crontab.guru)
# will base on default branch `main`
- cron: '0 3 * * *'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
generate-podvm-image-version:
if: github.event.inputs.podvm-image-id == ''
runs-on: ubuntu-24.04
outputs:
image-version: "${{ steps.generate-image-version.outputs.image-version }}"
steps:
- name: Generate PodVM image version
id: generate-image-version
run: |
nightly_version=$(date +'%Y.%m.%d')
echo "Generated nightly version for the image as: ${nightly_version}"
echo "image-version=${nightly_version}" >> "$GITHUB_OUTPUT"
build-podvm-image:

Check failure on line 27 in .github/workflows/azure-nightly-build.yml

View workflow run for this annotation

GitHub Actions / azure-nightly-build

Invalid workflow file

The workflow is not valid. .github/workflows/azure-nightly-build.yml (Line: 27, Col: 3): Error calling workflow 'bookinabox/cloud-api-adaptor/.github/workflows/azure-podvm-image-build.yml@dc5fd4ee271793a7e2a4718b4193fc56b5a2833a'. The workflow is requesting 'id-token: write', but is only allowed 'id-token: none'.
uses: ./.github/workflows/azure-podvm-image-build.yml
needs:
- generate-podvm-image-version
secrets: inherit
with:
image-version: ${{ needs.generate-podvm-image-version.outputs.image-version }}
run-e2e-test:
uses: ./.github/workflows/azure-e2e-test.yml
needs:
- build-podvm-image
secrets: inherit
with:
podvm-image-id: ${{ needs.build-podvm-image.outputs.image-id }}