Archived
1
0

Add docker image pushing

This commit is contained in:
Anmol Sethi
2020-02-18 13:06:18 -05:00
parent 1a54f6b7ef
commit 1a91588c42
5 changed files with 34 additions and 5 deletions

View File

@ -4,6 +4,8 @@ set -euo pipefail
main() {
cd "$(dirname "$0")/../.."
docker build ci/image
imageTag="$(docker build -q ci/image)"
docker run -t --rm -e CI -e GITHUB_TOKEN -v "$(yarn cache dir):/usr/local/share/.cache/yarn/v6" -v "$PWD:/repo" -w /repo "$imageTag" "$*"
}