Skip to content

Workflow file for this run

on:
workflow_dispatch:
push:
branches:
- "**"
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}/ubuntu
jobs:
static_analysis:
runs-on: ubuntu-latest
container:
image: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

Check failure on line 15 in .github/workflows/sonarcloud.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/sonarcloud.yml

Invalid workflow file

The workflow is not valid. .github/workflows/sonarcloud.yml (Line: 15, Col: 14): Unrecognized named-value: 'env'. Located at position 1 within expression: env.REGISTRY
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
- name: Build and scan
run: ci/buildsonarcloud.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}