Skip to content

Image Build

Image Build #3

Workflow file for this run

name: Image Build
on:
workflow_dispatch
permissions:
id-token: write
contents: write
jobs:
image:
if: github.event.actor == 'chkimes'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4
- name: Login to Azure
uses: azure/login@8c334a195cbb38e46038007b304988d888bf676a #v2
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
- name: Build Azure VM
with:
env:
AZURE_SUBSCRIPTION_ID: ${{ secrets.AZURE_SUBSCRIPTION_ID }}

Check failure on line 28 in .github/workflows/image.yml

View workflow run for this annotation

GitHub Actions / Image Build

Invalid workflow file

The workflow is not valid. .github/workflows/image.yml (Line: 28, Col: 11): A mapping was not expected .github/workflows/image.yml (Line: 32, Col: 7): Unexpected value 'run'
AZURE_RESOURCE_GROUP: ${{ secrets.AZURE_RESOURCE_GROUP }}
AZURE_LOCATION: ${{ secrets.AZURE_LOCATION }}
AZURE_VM_NAME: ${{ secrets.AZURE_VM_NAME }}
run: |
set -e
build-azure/build.sh
mkdir img
tar -xzvf image.tar.gz -C img
- name: Generate provenance
uses: github-early-access/generate-build-provenance@67d881a62db43e3a31b5d5fdc5454a540c7ea56e #main
with:
subject-path: img/*