gha: release: stage must be a string

Otherwise we'll face the following error as part of our GHA:
```
The workflow is not valid.
kata-containers/kata-containers/.github/workflows/release-$foo.yaml
(Line: 13, Col: 14): Invalid input, stage is not defined in the
referenced workflow.
```

Fixes: #7497

Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
Fabiano Fidêncio 2023-07-31 13:39:13 +02:00
parent 28e171bf73
commit 7c857d38c1
4 changed files with 4 additions and 4 deletions

View File

@ -51,7 +51,7 @@ jobs:
- ${{ inputs.stage }}
exclude:
- asset: cloud-hypervisor-glibc
stage: release
stage: "release"
steps:
- name: Login to Kata Containers quay.io
if: ${{ inputs.push-to-registry == 'yes' }}

View File

@ -10,7 +10,7 @@ jobs:
build-kata-static-tarball-amd64:
uses: ./.github/workflows/build-kata-static-tarball-amd64.yaml
with:
stage: release
stage: "release"
kata-deploy:
needs: build-kata-static-tarball-amd64

View File

@ -10,7 +10,7 @@ jobs:
build-kata-static-tarball-arm64:
uses: ./.github/workflows/build-kata-static-tarball-arm64.yaml
with:
stage: release
stage: "release"
kata-deploy:
needs: build-kata-static-tarball-arm64

View File

@ -10,7 +10,7 @@ jobs:
build-kata-static-tarball-s390x:
uses: ./.github/workflows/build-kata-static-tarball-s390x.yaml
with:
stage: release
stage: "release"
kata-deploy:
needs: build-kata-static-tarball-s390x