Skip to content

adjust ci to build for dev branch #2

adjust ci to build for dev branch

adjust ci to build for dev branch #2

name: Build container image, sign it, and generate SBOMs
on:
workflow_call:
outputs:
digest:
description: "Container image digest"
value: ${{jobs.build.outputs.digest}}
push:
branches:
- "kwasm-lifecycle-manager"
jobs:
build:
uses: ./.github/workflows/container-image.yml

Check failure on line 16 in .github/workflows/container-build.yml

View workflow run for this annotation

GitHub Actions / Build container image, sign it, and generate SBOMs

Invalid workflow file

The workflow is not valid. In .github/workflows/container-build.yml (Line: 16, Col: 11): Error from called workflow voigt/kwasm-operator/.github/workflows/container-image.yml@fc6226a3b2280f8dfb562b6b085199e816f9600e (Line: 59, Col: 14): Unexpected symbol: '${{'. Located at position 1 within expression: ${{ env.VERSION
permissions:
packages: write
with:
push-image: true
sign:
needs: build
uses: ./.github/workflows/sign-image.yml
permissions:
packages: write
id-token: write
with:
image-digest: ${{ needs.build.outputs.digest }}
sbom:
needs: build
uses: ./.github/workflows/sbom.yml
permissions:
packages: write
id-token: write
with:
image-digest: ${{ needs.build.outputs.digest }}