mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-24 14:32:33 +00:00
release: Standardize kata static file name
The string representing the architecture aarch64 and x86_64 need to be changed to arm64 and amd64 for the release. Fixes: #6986 Signed-off-by: SinghWang <wangxin_0611@126.com>
This commit is contained in:
parent
51e42a9972
commit
4b89a6bdac
4
.github/workflows/release.yaml
vendored
4
.github/workflows/release.yaml
vendored
@ -83,7 +83,7 @@ jobs:
|
|||||||
- name: push amd64 static tarball to github
|
- name: push amd64 static tarball to github
|
||||||
run: |
|
run: |
|
||||||
tag=$(echo $GITHUB_REF | cut -d/ -f3-)
|
tag=$(echo $GITHUB_REF | cut -d/ -f3-)
|
||||||
tarball="kata-static-$tag-x86_64.tar.xz"
|
tarball="kata-static-$tag-amd64.tar.xz"
|
||||||
mv kata-static.tar.xz "$GITHUB_WORKSPACE/${tarball}"
|
mv kata-static.tar.xz "$GITHUB_WORKSPACE/${tarball}"
|
||||||
pushd $GITHUB_WORKSPACE
|
pushd $GITHUB_WORKSPACE
|
||||||
echo "uploading asset '${tarball}' for tag: ${tag}"
|
echo "uploading asset '${tarball}' for tag: ${tag}"
|
||||||
@ -97,7 +97,7 @@ jobs:
|
|||||||
- name: push arm64 static tarball to github
|
- name: push arm64 static tarball to github
|
||||||
run: |
|
run: |
|
||||||
tag=$(echo $GITHUB_REF | cut -d/ -f3-)
|
tag=$(echo $GITHUB_REF | cut -d/ -f3-)
|
||||||
tarball="kata-static-$tag-aarch64.tar.xz"
|
tarball="kata-static-$tag-arm64.tar.xz"
|
||||||
mv kata-static.tar.xz "$GITHUB_WORKSPACE/${tarball}"
|
mv kata-static.tar.xz "$GITHUB_WORKSPACE/${tarball}"
|
||||||
pushd $GITHUB_WORKSPACE
|
pushd $GITHUB_WORKSPACE
|
||||||
echo "uploading asset '${tarball}' for tag: ${tag}"
|
echo "uploading asset '${tarball}' for tag: ${tag}"
|
||||||
|
Loading…
Reference in New Issue
Block a user