Skip to content

try adding azure creds #31

try adding azure creds

try adding azure creds #31

Workflow file for this run

name: Workflow
on:
push:
branches:
- workflows
jobs:
build:
uses: FINTlabs/fint-core-workflows/.github/workflows/CI.yaml@main
with:
javaVersion: '17'
secrets:
GITHUBACTION_TOKEN: ${{secrets.GITHUBACTION_TOKEN}}
deploy:
uses: FINTlabs/fint-core-workflows/.github/workflows/CD.yaml@main
needs: build
with:
branch-name: 'workflows'
cluster: 'aks-beta-fint-2021-11-23'
org: 'fintlabs-no'
registry: 'ghcr.io/fintlabs'
IMAGE_NAME: 'fint-personvern-kodeverk-adapter'
secrets:
AKS_AKS_BETA_FINT_2021_11_23_FINT_GITHUB: ${{ secrets.AKS_AKS_BETA_FINT_2021_11_23_FINT_GITHUB }}
docker_username: ${{github.actor}}
docker_password: ${{secrets.GITHUB_TOKEN}}
azure_creds: ${{ secrets[format('AKS_{0}_FINT_GITHUB', steps.environment.outputs.result)] }}

Check failure on line 31 in .github/workflows/test.yaml

View workflow run for this annotation

GitHub Actions / Workflow

Invalid workflow file

The workflow is not valid. .github/workflows/test.yaml (Line: 31, Col: 20): Unrecognized named-value: 'steps'. Located at position 39 within expression: secrets[format('AKS_{0}_FINT_GITHUB', steps.environment.outputs.result)]