hackoregon / civic-devops

Master collection point for issues, procedures, and code to manage the HackOregon Civic platform
MIT License
11 stars 4 forks source link

docker push gets Permission denied #141

Closed MikeTheCanuck closed 6 years ago

MikeTheCanuck commented 6 years ago

Brian ran into this on Transportation-Systems-backend-2018, and now @hassanshamim is hitting this on neighborhoods-2018:

$ bin/deploy.sh
Getting the ECR login...
WARNING! Using --password via the CLI is insecure. Use --password-stdin.
Login Succeeded
Running docker push command...
invalid reference format
bin/deploy.sh: line 20: bin/ecs-deploy.sh: Permission denied

@BrianHGrant What did you do to fix this?

MikeTheCanuck commented 6 years ago

Solution from Brian's lips to god's ear: run chmod +x /bin/*.sh

hassanshamim commented 6 years ago

should be: chmod +x ./bin/*.sh to update the project's bin directory and not your root bin