diff --git a/.github/workflows/docker-nightly.yaml b/.github/workflows/docker-nightly.yaml index f00fcaeb0..d9203a5a7 100644 --- a/.github/workflows/docker-nightly.yaml +++ b/.github/workflows/docker-nightly.yaml @@ -10,8 +10,14 @@ jobs: steps: - name: Log into GitHub Container Registry + env: + GH_CR_PAT: ${{ secrets.GH_CR_PAT }} run: echo "${{ secrets.GH_CR_PAT }}" | docker login https://ghcr.io -u ${{ github.actor }} --password-stdin + if: env.GH_CR_PAT != null - uses: actions/checkout@v2 - name: Setup and run - run: cd build/release && ./docker-nightly.sh \ No newline at end of file + env: + GH_CR_PAT: ${{ secrets.GH_CR_PAT }} + run: cd build/release && ./docker-nightly.sh + if: env.GH_CR_PAT != null