build: 解决 Docker login 用户名为空的问题

This commit is contained in:
BugKing 2020-12-03 17:20:02 +08:00
parent d59a05f806
commit 18a4602e62
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ jobs:
- name: Docker Login - name: Docker Login
uses: docker/login-action@v1.6.0 uses: docker/login-action@v1.6.0
with: with:
username: ${{ secrets.DOCKER_HUB_USERNAME }} username: metersphere
password: ${{ secrets.DOCKER_HUB_TOKEN }} password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Build Docker Image - name: Build Docker Image