Skip to content

Adding some build metadata so I can work out what version is deployed #50

Adding some build metadata so I can work out what version is deployed

Adding some build metadata so I can work out what version is deployed #50

Workflow file for this run

name: Build and Deploy to staging
on:
pull_request:
branches: [main]
env:
AZURE_WEBAPP_NAME: httpstatus-preview
IMAGE_NAME: ${{ github.repository }}-staging
permissions:
id-token: write
contents: read
jobs:
build:

Check failure on line 16 in .github/workflows/staging.yaml

View workflow run for this annotation

GitHub Actions / Build and Deploy to staging

Invalid workflow file

The workflow is not valid. .github/workflows/staging.yaml (Line: 16, Col: 3): Error calling workflow 'aaronpowell/httpstatus/.github/workflows/build.yaml@4b25367c15939e97b0771ab4c820fe50dfca8a07'. The nested job 'build-images' is requesting 'packages: write', but is only allowed 'packages: none'.
uses: ./.github/workflows/build.yaml
secrets: inherit
with:
image_name: ${{ github.repository }}-staging
deploy:
uses: ./.github/workflows/deploy.yaml
secrets: inherit
with:
image_name: ${{ github.repository }}-staging
azure_webapp_name: httpstatus-preview