Rework how the clean build command works.

This commit is contained in:
2021-11-16 06:37:58 -06:00
parent fed6a48332
commit 2112d1c970
3 changed files with 8 additions and 2 deletions

View File

@ -69,6 +69,9 @@ serve-docker: build-image
# Utility
# -------
clean:
-docker image rm $(ECR_ACCOUNT_URL)/hff_entry_forms_api:$(VERSION)
# Authenticate docker to the AWS private elastic container repository.
ecr-auth:
aws ecr get-login-password --region us-west-2 | docker login --username AWS --password-stdin $(ECR_ACCOUNT_URL)