mirror of
https://github.com/owncast/owncast.git
synced 2024-11-21 12:18:02 +03:00
Check for secret key before nightly builds (#1375)
This commit is contained in:
parent
3197b22dbb
commit
ae1c2d89f0
1 changed files with 7 additions and 1 deletions
8
.github/workflows/docker-nightly.yaml
vendored
8
.github/workflows/docker-nightly.yaml
vendored
|
@ -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
|
||||
env:
|
||||
GH_CR_PAT: ${{ secrets.GH_CR_PAT }}
|
||||
run: cd build/release && ./docker-nightly.sh
|
||||
if: env.GH_CR_PAT != null
|
||||
|
|
Loading…
Reference in a new issue