2020-05-16 21:55:46 +07:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
|
|
|
|
main() {
|
|
|
|
cd "$(dirname "$0")/../.."
|
|
|
|
source ./ci/lib.sh
|
|
|
|
|
2020-06-03 23:07:42 +07:00
|
|
|
./ci/release-image/build.sh
|
2020-05-16 21:55:46 +07:00
|
|
|
|
|
|
|
mkdir -p release-images
|
2021-03-16 05:36:31 +07:00
|
|
|
docker save "codercom/code-server-$ARCH:$VERSION" >"release-images/code-server-$ARCH-$VERSION.tar"
|
2020-05-16 21:55:46 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
main "$@"
|