Skip to content

azure podvm image nightly build #3

azure podvm image nightly build

azure podvm image nightly build #3

name: azure podvm image nightly build
on:
schedule:
# Run at 12:00 AM UTC
- cron: '0 0 * * *'
jobs:
generate-image-version:
runs-on: ubuntu-latest
outputs:
image-version: "${{ steps.generate-image-version.outputs.image-version }}"
steps:
- name: Generate version for pod vm image
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 21 in .github/workflows/azure-podvm-image-nightly-build.yml

View workflow run for this annotation

GitHub Actions / azure podvm image nightly build

Invalid workflow file

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