mirror of
https://github.com/owncast/owncast.git
synced 2024-12-18 15:23:55 +03:00
24 lines
614 B
YAML
24 lines
614 B
YAML
name: Build nightly docker
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "0 2 * * *"
|
|
|
|
jobs:
|
|
Docker:
|
|
runs-on: ubuntu-latest
|
|
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
|
|
env:
|
|
GH_CR_PAT: ${{ secrets.GH_CR_PAT }}
|
|
run: cd build/release && ./docker-nightly.sh
|
|
if: env.GH_CR_PAT != null
|