ci: debug harbor login -- print credential lengths
This commit is contained in:
@@ -33,7 +33,12 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: echo "${{ secrets.HARBOR_PASS }}" | docker login harbor.mymx.me -u "${{ secrets.HARBOR_USER }}" --password-stdin
|
||||
- run: |
|
||||
echo "user length: ${#HARBOR_USER}, pass length: ${#HARBOR_PASS}"
|
||||
echo "$HARBOR_PASS" | docker login harbor.mymx.me -u "$HARBOR_USER" --password-stdin
|
||||
env:
|
||||
HARBOR_USER: ${{ secrets.HARBOR_USER }}
|
||||
HARBOR_PASS: ${{ secrets.HARBOR_PASS }}
|
||||
- run: |
|
||||
docker build \
|
||||
-t harbor.mymx.me/s5p/s5p:latest \
|
||||
|
||||
Reference in New Issue
Block a user