Skip to content

Commit

Permalink
Rename repository
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Wang <[email protected]>
  • Loading branch information
felixwang9817 committed Sep 22, 2021
1 parent 8f0ef0e commit 5f70464
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/python/feast/infra/aws.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ def _upload_docker_image(self) -> None:
)
docker_client.images.pull(AWS_LAMBDA_FEATURE_SERVER_IMAGE)

repository_name = "feast-python-server-test"
version = ".".join(feast.__version__.split(".")[:3])
repository_name = f"feast-python-server-{version}"
ecr_client = boto3.client("ecr")
try:
print(
Expand All @@ -70,7 +71,6 @@ def _upload_docker_image(self) -> None:
docker_client.login(username=username, password=password, registry=ecr_address)

image = docker_client.images.get(AWS_LAMBDA_FEATURE_SERVER_IMAGE)
version = ".".join(feast.__version__.split(".")[:3])
image_remote_name = f"{repository_uri}:{version}"
print(
f"Pushing local image to remote {Style.BRIGHT + Fore.GREEN}{image_remote_name}{Style.RESET_ALL}:"
Expand Down

0 comments on commit 5f70464

Please sign in to comment.