2020-05-16 21:55:46 +07:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
|
|
|
|
main() {
|
|
|
|
cd "$(dirname "$0")/../.."
|
|
|
|
source ./ci/lib.sh
|
|
|
|
|
|
|
|
./ci/release-container/build.sh
|
|
|
|
|
|
|
|
mkdir -p release-images
|
2020-05-18 03:53:08 +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 "$@"
|