diff options
author | Florian Zschocke <f.zschocke+git@gmail.com> | 2022-04-09 18:28:32 +0200 |
---|---|---|
committer | Florian Zschocke <f.zschocke+git@gmail.com> | 2022-04-09 18:28:32 +0200 |
commit | ad52a89d40aef4a191bea8b65dc13597c0a7734d (patch) | |
tree | 2b9f01fb969e5ece057c5e809ce589adb20125f4 | |
parent | b33a5d7c09562c617d3438c03d8ca5f5a8e656c3 (diff) | |
download | gitblit-ad52a89d40aef4a191bea8b65dc13597c0a7734d.tar.gz gitblit-ad52a89d40aef4a191bea8b65dc13597c0a7734d.zip |
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.
-rw-r--r-- | .github/workflows/nightly-build.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index 17c09402..2dec7ff2 100644 --- a/.github/workflows/nightly-build.yml +++ b/.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 |