CI: do not treat usernames/logins as secrets

This causes logging issues where certain words like 'termux'
are censored. This breaks directory paths & urls.
This commit is contained in:
Leonid Pliushch 2020-01-22 22:41:34 +02:00
parent 843e7cb6f6
commit b7611b8fc0
3 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@ jobs:
docker build --tag termux/package-builder:latest .
- name: Push to hub.docker.com
env:
DOCKER_LOGIN: ${{ secrets.DOCKER_HUB_LOGIN }}
DOCKER_LOGIN: xeffyr
DOCKER_PASS: ${{ secrets.DOCKER_HUB_PASSWORD }}
run: |
docker login --username "${DOCKER_LOGIN}" --password "${DOCKER_PASS}"

View File

@ -77,9 +77,9 @@ jobs:
path: ./debs
- name: Upload to bintray.com
env:
BINTRAY_USERNAME: ${{ secrets.BINTRAY_USERNAME }}
BINTRAY_USERNAME: xeffyr
BINTRAY_API_KEY: ${{ secrets.BINTRAY_API_KEY }}
BINTRAY_GPG_SUBJECT: ${{ secrets.BINTRAY_GPG_SUBJECT }}
BINTRAY_GPG_SUBJECT: termux
BINTRAY_GPG_PASSPHRASE: ${{ secrets.BINTRAY_GPG_PASSWORD }}
run: |
TO_DELETE=$(test -f ./debs/deleted_packages.txt && cat ./debs/deleted_packages.txt)

View File

@ -24,7 +24,7 @@ jobs:
./scripts/repology/generate-repology-metadata.sh ./packages/* /tmp/repos/*/packages/* > ./generated/packages.json
- name: Upload metadata to bintray.com
env:
BINTRAY_USERNAME: ${{ secrets.BINTRAY_USERNAME }}
BINTRAY_USERNAME: xeffyr
BINTRAY_API_KEY: ${{ secrets.BINTRAY_API_KEY }}
run: |
response=$(curl --silent --user "${BINTRAY_USERNAME}:${BINTRAY_API_KEY}" --request DELETE --write-out "|%{http_code}" \