mirror of
https://github.com/webrecorder/browsertrix-crawler.git
synced 2025-12-26 03:40:19 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user