force user to enter a user and password

This commit is contained in:
Tom Broughton 2023-10-30 08:40:18 +00:00
parent 0a032ab901
commit 1065370eb4
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ jobs:
run: | run: |
mv app/config.json.sample app/config.json mv app/config.json.sample app/config.json
jq --arg pk "$KEY" '.user.privatekey = $pk' app/config.json > app/config.json.tmp && mv app/config.json.tmp app/config.json jq --arg pk "$KEY" '.user.privatekey = $pk' app/config.json > app/config.json.tmp && mv app/config.json.tmp app/config.json
jq --arg pwd "$AER_USER_PWD" '.user.password = $pwd' app/config.json > app/config.json.tmp && mv app/config.json.tmp app/config.json //jq --arg pwd "$AER_USER_PWD" '.user.password = $pwd' app/config.json > app/config.json.tmp && mv app/config.json.tmp app/config.json
- name: Upload image to ECR - name: Upload image to ECR
run: | run: |
./image-build-upload.sh ./image-build-upload.sh

View file

@ -12,7 +12,7 @@
"allowed_ips": ["127.21.0.1"] "allowed_ips": ["127.21.0.1"]
}, },
"user": { "user": {
"name": "aer", "name": null,
"password": null, "password": null,
"privatekey": null, "privatekey": null,
"overridebasic": false "overridebasic": false