Skip to content

update workflow

update workflow #4

Workflow file for this run

name: build-scan
on:
push:
branches:
- main
- develop
permissions:
contents: read
packages: write
security-events: write
env:
CARGO_TERM_COLOR: always
jobs:
build:
uses: ${{ vars.ORGANISATION_WORKFLOW_PATH }}/build.yml@main

Check failure on line 19 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

invalid value workflow reference: references to workflows must be rooted in '.github/workflows'
with:
REGISTRY: ${{ vars.REGISTRY }}
REPOSITORY: ${{ vars.REPOSITORY }}
NODE_TYPE: ${{ vars.NODE_TYPE }}
scan-image:
uses: ${{ vars.ORGANISATION_WORKFLOW_PATH }}/scan-image.yml@main
secrets: inherit
needs: build
with:
IMAGE: ${{ vars.REGISTRY }}/${{ vars.ORGANISATION_NAME }}/node-${{ vars.NODE_TYPE }}:${{ github.sha }}