Skip to content

Build, push and deploy to dev (manual) #1

Build, push and deploy to dev (manual)

Build, push and deploy to dev (manual) #1

Workflow file for this run

name: Build, push and deploy to dev (manual)
on:
workflow_dispatch:
jobs:
build:
name: Test, build and push
uses: ./.github/workflows/.test-and-build.yml
permissions:
contents: read
id-token: write
secrets:
NAIS_WORKLOAD_IDENTITY_PROVIDER: ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }}
SLACK_VARSEL_WEBHOOK_URL: ${{ secrets.SLACK_VARSEL_WEBHOOK_URL }}
deploy-dev:

Check failure on line 17 in .github/workflows/deploy-to-dev.yml

View workflow run for this annotation

GitHub Actions / Build, push and deploy to dev (manual)

Invalid workflow file

The workflow is not valid. .github/workflows/deploy-to-dev.yml (Line: 17, Col: 3): Error calling workflow 'navikt/tiltakspenger-arena/.github/workflows/.deploy-to-nais.yml@58c08194919a565653f85738dff4feb3dbfbbd24'. The nested job 'build' is requesting 'id-token: write', but is only allowed 'id-token: none'.
name: Deploy to NAIS dev
needs: build
uses: ./.github/workflows/.deploy-to-nais.yml
with:
NAIS_ENV: dev
IMAGE: ${{ needs.build.outputs.IMAGE }}