ci(workflow): 更新Docker镜像名称使用secrets中的用户名
使用DOCKERHUB_USERNAME作为镜像名称,提高安全性
This commit is contained in:
parent
5f7648300d
commit
9405c8076a
1 changed files with 1 additions and 1 deletions
2
.github/workflows/docker-publish.yml
vendored
2
.github/workflows/docker-publish.yml
vendored
|
|
@ -7,7 +7,7 @@ on:
|
|||
|
||||
env:
|
||||
REGISTRY: docker.io
|
||||
IMAGE_NAME: ${{ github.repository }}
|
||||
IMAGE_NAME: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
|
||||
jobs:
|
||||
build-and-push:
|
||||
|
|
|
|||
Loading…
Reference in a new issue