Skip to content
This repository was archived by the owner on Mar 10, 2025. It is now read-only.

Commit f28b581

Browse files
authored
skip-docker should use the configured repository when running with AWS Batch
1 parent 085fa3a commit f28b581

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/soopervisor/aws/batch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,8 @@ def _export(
283283
pkg_name, version = source.find_package_name_and_version()
284284
default_image_key = get_default_image_key()
285285
if default_image_key:
286-
#image_local = f"{pkg_name}:{version}-"
287-
image_local = f"{cfg.repository}:{version}" # use docker image previously created from ECR repository specified in the config file.
286+
# Use image from ECR repository from the config file.
287+
image_local = f"{cfg.repository}:{version}"
288288
f"{docker.modify_wildcard(default_image_key)}"
289289
image_map = {}
290290
image_map[default_image_key] = image_local

0 commit comments

Comments
 (0)