From 1b111a9aab4daeb6facea67b7b3ac28e646720b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Mon, 31 Jul 2023 14:41:35 +0200 Subject: [PATCH] gha: release: `stage` must be defined for arm64 / s390x yamls MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `stage` has been added, but only hooked up to the amd64 logic, leaving arm64 and s390x behind. Let's fix this right now, and make sure no error occurs when passing this down to the yaml files. Fixes: #7497 Signed-off-by: Fabiano FidĂȘncio --- .github/workflows/build-kata-static-tarball-arm64.yaml | 6 ++++++ .github/workflows/build-kata-static-tarball-s390x.yaml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/build-kata-static-tarball-arm64.yaml b/.github/workflows/build-kata-static-tarball-arm64.yaml index 85d7bd18b8..cafc6e0200 100644 --- a/.github/workflows/build-kata-static-tarball-arm64.yaml +++ b/.github/workflows/build-kata-static-tarball-arm64.yaml @@ -2,6 +2,10 @@ name: CI | Build kata-static tarball for arm64 on: workflow_call: inputs: + stage: + required: false + type: string + default: test tarball-suffix: required: false type: string @@ -29,6 +33,8 @@ jobs: - rootfs-initrd - shim-v2 - virtiofsd + stage: + - ${{ inputs.stage }} steps: - name: Adjust a permission for repo run: | diff --git a/.github/workflows/build-kata-static-tarball-s390x.yaml b/.github/workflows/build-kata-static-tarball-s390x.yaml index 8c7b886370..0fe7e9200d 100644 --- a/.github/workflows/build-kata-static-tarball-s390x.yaml +++ b/.github/workflows/build-kata-static-tarball-s390x.yaml @@ -2,6 +2,10 @@ name: CI | Build kata-static tarball for s390x on: workflow_call: inputs: + stage: + required: false + type: string + default: test tarball-suffix: required: false type: string @@ -25,6 +29,8 @@ jobs: - rootfs-initrd - shim-v2 - virtiofsd + stage: + - ${{ inputs.stage }} steps: - name: Adjust a permission for repo run: |