fix: use --password-stdin for harbor login
Some checks failed
ci / secrets (push) Successful in 9s
ci / test (push) Successful in 19s
ci / build (push) Failing after 12s

Multiline shell continuation in YAML was causing literal \n in the
command. Single-line pipe also avoids the CLI password warning.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
user
2026-02-21 17:47:26 +01:00
parent 56db4d26da
commit 4cbd157896

View File

@@ -33,10 +33,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
docker login harbor.mymx.me \
-u "${{ secrets.HARBOR_USER }}" \
-p "${{ secrets.HARBOR_PASS }}"
- run: echo "${{ secrets.HARBOR_PASS }}" | docker login harbor.mymx.me -u "${{ secrets.HARBOR_USER }}" --password-stdin
- run: |
docker build \
-t harbor.mymx.me/s5p/s5p:latest \