输出go env

This commit is contained in:
Erope 2021-04-04 01:28:59 +08:00
parent 569b3bab99
commit 1d6fa0dca9

View File

@ -22,6 +22,7 @@ jobs:
- name: Build and push dasbboard image - name: Build and push dasbboard image
run: | run: |
go env
go test -v ./... go test -v ./...
IMAGE_NAME=$(echo "ghcr.io/${{ github.repository_owner }}/nezha-dashboard" | tr '[:upper:]' '[:lower:]') IMAGE_NAME=$(echo "ghcr.io/${{ github.repository_owner }}/nezha-dashboard" | tr '[:upper:]' '[:lower:]')
docker build -t $IMAGE_NAME -f Dockerfile . docker build -t $IMAGE_NAME -f Dockerfile .