Fabiano Fidêncio
52a985e1f7
release: Always use actions/checkout to ensure we're in a git repo
Otherwise we'll face issues like:
```
Run tag=$(echo $GITHUB_REF | cut -d/ -f3-)
tag=$(echo $GITHUB_REF | cut -d/ -f3-)
tarball="kata-static-$tag-amd64.tar.xz"
mv kata-static.tar.xz "$GITHUB_WORKSPACE/${tarball}"
pushd $GITHUB_WORKSPACE
echo "uploading asset '${tarball}' for tag: ${tag}"
GITHUB_TOKEN=*** gh release upload "${tag}" "${tarball}"
popd
shell: /usr/bin/bash -e {0}
~/work/kata-containers/kata-containers ~/work/kata-containers/kata-containers
uploading asset 'kata-static-3.3.0-alpha0-amd64.tar.xz' for tag: 3.3.0-alpha0
failed to run git: fatal: not a git repository (or any of the parent directories): .git
```
Fixes: #8286 (or better, just a follow up of that)
Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
(cherry picked from commit b32c6bf805)
Signed-off-by: Greg Kurz <groug@kaod.org>
2023-10-23 15:17:57 +02:00
..
2023-07-11 14:37:10 +02:00
2023-09-21 13:29:57 +02:00
2023-09-21 13:43:49 +02:00
2023-07-11 14:37:10 +02:00
2023-10-11 10:36:33 +02:00
2023-10-06 15:23:57 +02:00
2023-10-06 15:25:43 +02:00
2023-09-21 13:58:47 +02:00
2023-07-11 14:37:10 +02:00
2023-09-21 13:46:00 +02:00
2023-09-21 13:43:49 +02:00
2023-10-11 10:34:05 +02:00
2023-07-11 14:37:10 +02:00
2023-09-21 13:29:57 +02:00
2023-09-21 13:29:57 +02:00
2023-07-28 10:04:33 +02:00
2023-09-21 13:43:49 +02:00
2023-09-21 14:17:29 +02:00
2023-07-11 14:37:10 +02:00
2023-09-21 13:45:52 +02:00
2023-10-06 15:25:43 +02:00
2023-09-21 13:45:52 +02:00
2023-07-31 14:37:52 +02:00
2023-10-06 15:25:43 +02:00
2023-07-31 14:37:52 +02:00
2023-10-23 15:17:57 +02:00
2023-09-21 13:43:49 +02:00
2023-09-21 14:11:07 +02:00
2023-09-21 14:12:22 +02:00
2023-09-21 14:12:22 +02:00
2023-09-21 14:17:17 +02:00
2023-10-11 10:34:05 +02:00
2023-09-21 14:16:17 +02:00
2023-09-21 14:16:59 +02:00
2023-10-06 15:16:18 +02:00
2023-10-06 15:12:33 +02:00
2023-09-21 14:11:12 +02:00
2023-10-06 15:27:42 +02:00
2023-10-06 15:11:54 +02:00