ci: updated workflow

This commit is contained in:
Marvin Zhang
2024-10-21 12:46:03 +08:00
parent 1613657545
commit 3cef7debc6
2 changed files with 2 additions and 1 deletions

View File

@@ -221,7 +221,7 @@ jobs:
- name: Login to DockerHub
uses: docker/login-action@v3
with:
registry: ${{ (matrix.registry == 'dockerhub' && '') || (matrix.registry == 'tencent' && 'ccr.ccs.tencentyun.com') }}
registry: ${{ (matrix.registry == 'dockerhub' && 'https://index.docker.io/v1/') || (matrix.registry == 'tencent' && 'ccr.ccs.tencentyun.com') }}
username: ${{ (matrix.registry == 'dockerhub' && secrets.DOCKER_USERNAME) || (matrix.registry == 'tencent' && secrets.DOCKER_TENCENT_USERNAME) }}
password: ${{ (matrix.registry == 'dockerhub' && secrets.DOCKER_PASSWORD) || (matrix.registry == 'tencent' && secrets.DOCKER_TENCENT_PASSWORD) }}

View File

@@ -1,3 +1,4 @@
# crawlab-backend
Backend (Golang) for Crawlab