From 1c57d820e23895df5298bc63838832c6b8d3096f Mon Sep 17 00:00:00 2001 From: "Gui.H" <740360381@qq.com> Date: Wed, 12 Oct 2022 10:45:41 +0800 Subject: [PATCH] Update dotnetcore.yml --- .github/workflows/dotnetcore.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index 31bf580..7b855ff 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -95,7 +95,7 @@ jobs: - uses: actions/checkout@v2 # 构建镜像,指定镜像名 - name: Build image - run: docker build . --file Dockerfile --tag $IMAGE_NAME:$(date "+%Y.%m.%d") + run: docker build . --file Dockerfile --tag $IMAGE_NAME # 登录到 dockerhub,使用 GitHub secrets 传入账号密码,密码被加密存储在 GitHub 服务器,添加方法见下图。 - name: Log into registry run: echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login -u springhgui --password-stdin