Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Commit

Permalink
drop quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasTR committed Apr 14, 2023
1 parent 5e99633 commit bd25448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ manage_ecr_repositories() {

# 3) Create a new repository called XYZ if the repository does not yet exist in the public ECR
for label in $dockerfiles_with_label; do
repository_name=$(echo "$label" | tr -d '[:space:]') # Remove whitespace
repository_name=$(echo "$label" | tr -d '[:space:]"') # Remove whitespace and quotes
if [[ ! $ecr_repositories =~ $repository_name ]]; then
echo "Creating new ECR Public repository: $repository_name"
aws ecr-public create-repository --repository-name "$repository_name"
Expand Down

0 comments on commit bd25448

Please sign in to comment.