mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 12:48:14 -05:00
修复创建docker镜像时用户名存在大写问题
This commit is contained in:
parent
44299459ff
commit
569b3bab99
5
.github/workflows/dashboard.yml
vendored
5
.github/workflows/dashboard.yml
vendored
@ -23,5 +23,6 @@ jobs:
|
||||
- name: Build and push dasbboard image
|
||||
run: |
|
||||
go test -v ./...
|
||||
docker build -t ghcr.io/${{ github.repository_owner }}/nezha-dashboard -f Dockerfile .
|
||||
docker push ghcr.io/${{ github.repository_owner }}/nezha-dashboard
|
||||
IMAGE_NAME=$(echo "ghcr.io/${{ github.repository_owner }}/nezha-dashboard" | tr '[:upper:]' '[:lower:]')
|
||||
docker build -t $IMAGE_NAME -f Dockerfile .
|
||||
docker push $IMAGE_NAME
|
||||
|
Loading…
Reference in New Issue
Block a user