Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Commit

Permalink
Change image to docker_image (#2918)
Browse files Browse the repository at this point in the history
  • Loading branch information
kl2806 committed Jun 3, 2019
1 parent 5393882 commit 89700de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/ai2-internal/run_with_beaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ def main(param_file: str, args: argparse.Namespace):
subprocess.run(f'docker build -t {docker_image} .', shell=True, check=True)

print(f"Create a Beaker image...")
image = subprocess.check_output(f'beaker image create --quiet {image}', shell=True,
image = subprocess.check_output(f'beaker image create --quiet {docker_image}', shell=True,
universal_newlines=True).strip()
print(f" Image created: {image}")
print(f" Image created: {docker_image}")

config_dataset_id = subprocess.check_output(f'beaker dataset create --quiet {param_file}', shell=True, universal_newlines=True).strip()

Expand Down

0 comments on commit 89700de

Please sign in to comment.