Fixes for CI from @code-asher's review

This commit is contained in:
Anmol Sethi
2020-05-08 16:31:42 -04:00
parent 231e31656a
commit 7c7f62d3f3
8 changed files with 43 additions and 20 deletions

14
ci/release-container/build.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
set -euo pipefail
main() {
cd "$(dirname "$0")/../.."
source ./ci/lib.sh
VERSION="$(pkg_json_version)"
imageTag="codercom/code-server:$VERSION"
docker build -t "$imageTag" -f ./ci/release-container/Dockerfile .
}
main "$@"