Update dotnetcore.yml

This commit is contained in:
Gui.H 2021-11-14 22:47:45 +08:00 committed by GitHub
parent cfaaf10295
commit 56d3bcd785
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,7 +119,7 @@ jobs:
run: docker build . --file Dockerfile --tag $IMAGE_NAME
# 登录到 dockerhub使用 GitHub secrets 传入账号密码,密码被加密存储在 GitHub 服务器,添加方法见下图。
- name: Log into registry
run: echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login -u libra146 --password-stdin
run: echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login -u springhgui --password-stdin
- name: Push image
run: |