mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-21 20:08:54 +00:00
Try to move all the common bash logic from the actions toml file to separate scripts and call these scripts instead. Note the repo itself is now checked out to get access to these scripts. Signed-off-by: Archana Shinde <archana.m.shinde@intel.com> Signed-off-by: Eric Ernst <eric.ernst@intel.com>
19 lines
289 B
Bash
Executable File
19 lines
289 B
Bash
Executable File
#!/bin/bash
|
|
# Copyright (c) 2019 Intel Corporation
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
set -o errexit
|
|
set -o pipefail
|
|
|
|
pushd kata-artifacts >>/dev/null
|
|
for c in ./*.tar.gz
|
|
do
|
|
echo "untarring tarball $c"
|
|
tar -xvf $c
|
|
done
|
|
|
|
tar cfJ ../kata-static.tar.xz ./opt
|
|
popd >>/dev/null
|