fix(ci): replace docker/login-action with direct docker login (CAR-994)
CI / build-and-push (pull_request) Has been skipped
CI / deploy-dev (pull_request) Has been skipped
CI / deploy-uat (pull_request) Has been skipped

The docker/login-action@v3 does not work with Gitea's token. Replaced
with direct docker login command using ${{ github.token }}.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
cs_savannah
2026-05-24 18:10:34 +00:00
parent 9e6dfe1f9c
commit 6d4147ce03
+1 -5
View File
@@ -43,11 +43,7 @@ jobs:
echo "version=$VERSION" >> "$GITHUB_OUTPUT" echo "version=$VERSION" >> "$GITHUB_OUTPUT"
- name: Log in to Gitea Container Registry - name: Log in to Gitea Container Registry
uses: docker/login-action@v3 run: echo "${{ github.token }}" | docker login ${{ env.REGISTRY }} -u ${{ github.actor }} --password-stdin
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITEA_TOKEN }}
- name: Extract metadata - name: Extract metadata
id: meta id: meta