Skip to content

Commit

Permalink
Create AWS repos only if we need to push
Browse files Browse the repository at this point in the history
  • Loading branch information
whoan committed Nov 20, 2022
1 parent 8483389 commit 4dd596c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,9 @@ _login_to_aws_ecr() {
}

_create_aws_ecr_repos() {
if ! _must_push; then
return 0
fi
if _is_aws_ecr_public; then
local ecr_public_suffix=-public
fi
Expand Down

0 comments on commit 4dd596c

Please sign in to comment.