Build simplification: Use :latest Version By default + README update (#71)

* docker-compose: just use ':latest' tag for local builds, allow users working with local docker-compose.yml to just build latest image
- ci: add 'latest' tag to release ci build to automatically update latest as well
- README: remove '[VERSION]', just refer to latest version of image in all examples
- README: mention using specific released tag version for production
This commit is contained in:
Ilya Kreymer
2021-07-22 17:46:10 -07:00
committed by GitHub
parent f4c6b6a99f
commit bd44190ab2
6 changed files with 25 additions and 18 deletions

View File

@@ -10,8 +10,7 @@ function runCrawl(name, config, commandExtra = "") {
const configYaml = yaml.dump(config);
try {
const version = require("../package.json").version;
const proc = child_process.execSync(`docker run -i -v $PWD/test-crawls:/crawls webrecorder/browsertrix-crawler:${version} crawl --config stdin ${commandExtra}`, {input: configYaml, stdin: "inherit", encoding: "utf8"});
const proc = child_process.execSync(`docker run -i -v $PWD/test-crawls:/crawls webrecorder/browsertrix-crawler crawl --config stdin ${commandExtra}`, {input: configYaml, stdin: "inherit", encoding: "utf8"});
console.log(proc);
}