浏览代码

ci: Add debug logging to nightly build

For some reason the secret gate doesn't work and the main Gitblit
repo also attempts to deploy the nightly to Docker which must fail.
pull/1328/merge
Florian Zschocke 2 年前
父节点
当前提交
ad52a89d40
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3
    1
      .github/workflows/nightly-build.yml

+ 3
- 1
.github/workflows/nightly-build.yml 查看文件

@@ -111,6 +111,8 @@ jobs:
run: |
if [[ -n "${{secrets.DOCKERHUB_GB_TOKEN}}" && -n "${{secrets.DOCKERHUB_GB_USER}}" ]] ; then
echo "::set-output name=secrets_present::true"
else
echo "No Docker Hub login data found. Skipping Docker."
fi


@@ -121,7 +123,7 @@ jobs:
docker:
name: Build and push nightly docker image
runs-on: ubuntu-latest
if: ${{needs.secret-gate.outputs.build_docker == 'true'}} && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop')
if: needs.secret-gate.outputs.build_docker == 'true' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop')
needs: secret-gate
env:
GH_ORG: gitblit

正在加载...
取消
保存