mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-13 13:46:46 +00:00
release: Upload versions.yaml as part of the release
Although this file is far away from being a SBOM, it'll help folks to easily visualise which components are part of a release, and even have SBOMs generated from that. Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
87d99a71ec
commit
5dddd7c5d1
13
.github/workflows/release.yaml
vendored
13
.github/workflows/release.yaml
vendored
@ -121,6 +121,19 @@ jobs:
|
|||||||
GITHUB_TOKEN=${{ secrets.GIT_UPLOAD_TOKEN }} hub release edit -m "" -a "${tarball}" "${tag}"
|
GITHUB_TOKEN=${{ secrets.GIT_UPLOAD_TOKEN }} hub release edit -m "" -a "${tarball}" "${tag}"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
upload-versions-yaml-tarball:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: upload versions.yaml
|
||||||
|
run: |
|
||||||
|
tag=$(echo $GITHUB_REF | cut -d/ -f3-)
|
||||||
|
pushd $GITHUB_WORKSPACE
|
||||||
|
versions_file="kata-containers-$tag-versions.yaml"
|
||||||
|
cp versions.yaml ${versions_file}
|
||||||
|
hub release edit -m "" -a "${versions_file}" "${tag}"
|
||||||
|
popd
|
||||||
|
|
||||||
upload-cargo-vendored-tarball:
|
upload-cargo-vendored-tarball:
|
||||||
needs: upload-multi-arch-static-tarball
|
needs: upload-multi-arch-static-tarball
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
Loading…
Reference in New Issue
Block a user