Skip to content

CI: fix build

CI: fix build #5

name: Auto Build Release Image
on:
push:
tags:
- v[0-9]+.[0-9]+.[0-9]+
permissions: write-all
jobs:
get_ref:
runs-on: ubuntu-latest
outputs:
tag: ${{ steps.get_ref.outputs.tag }}
steps:
- name: Get Ref
id: get_ref
run: |
if ${{ github.event_name != 'push' }} ; then
echo "unexpected event: ${{ github.event_name }} "
exit 1
fi
echo "tag=${GITHUB_REF##*/}" >> $GITHUB_OUTPUT
call-build-release:
needs: [grt_ref]

Check failure on line 26 in .github/workflows/build-image-release.yaml

View workflow run for this annotation

GitHub Actions / Auto Build Release Image

Invalid workflow file

The workflow is not valid. .github/workflows/build-image-release.yaml (Line: 26, Col: 13): Job 'call-build-release' depends on unknown job 'grt_ref'.
uses: ./.github/workflows/call-image-build.yaml
with:
ref: ${{ github.ref }}
tag: ${{ needs.get_ref.outputs.tag }}
push: true
secrets: inherit