From 4cbd157896750062c67d1283e13123194b111dd5 Mon Sep 17 00:00:00 2001 From: user Date: Sat, 21 Feb 2026 17:47:26 +0100 Subject: [PATCH] fix: use --password-stdin for harbor login 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 --- .gitea/workflows/ci.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 6394b4b..c784a89 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -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 \