diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f430ef3e..1f624212 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -44,9 +44,11 @@ jobs: test_mute_cmd=$(jq '.testMuteCmd' --raw-output apps/${{ matrix.apps.app }}/metadata.json) build_version=$(jq --arg chan ${{ matrix.apps.channel }} --raw-output '(.channels | .[] | select(.name == $chan)) | .version' ./apps/${{ matrix.apps.app }}/metadata.json) baseimg_build_version=$(jq --arg chan ${{ matrix.apps.channel }} --raw-output '(.channels | .[] | select(.name == $chan)) | .baseimgversion' ./apps/${{ matrix.apps.app }}/metadata.json) + metavar=$(jq --arg chan ${{ matrix.apps.channel }} --raw-output '(.channels | .[] | select(.name == $chan)) | .metavar' ./apps/${{ matrix.apps.app }}/metadata.json) echo "build_version=${build_version}" >> $GITHUB_OUTPUT echo "baseimg_build_version=${baseimg_build_version}" >> $GITHUB_OUTPUT + echo "metavar=${metavar}" >> $GITHUB_OUTPUT echo "goss_file=./apps/${{ matrix.apps.app }}/ci/goss.yaml" >> $GITHUB_OUTPUT if [[ "${test_mute_cmd}" == true ]]; then echo "goss_args=tail -f /dev/null" >> $GITHUB_OUTPUT @@ -82,6 +84,7 @@ jobs: with: build-args: |- BASEIMGVERSION=${{ steps.vars.outputs.baseimg_build_version }} + METAVAR=${{ steps.vars.outputs.metavar }} VERSION=${{ steps.vars.outputs.build_version }} CHANNEL=${{ matrix.apps.channel }} context: apps/${{ matrix.apps.app }}