build docker image every night

This commit is contained in:
Gabe Kangas
2021-03-29 19:07:29 -07:00
parent 592d207ec3
commit bf93d2decc
2 changed files with 36 additions and 0 deletions

17
.github/workflows/docker-nightly.yaml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: Build nightly docker
on:
schedule:
- cron: "0 0 * * *"
jobs:
Docker:
runs-on: ubuntu-latest
steps:
- name: Log into GitHub Container Registry
run: echo "${{ secrets.GH_CR_PAT }}" | docker login https://ghcr.io -u ${{ github.actor }} --password-stdin
- uses: actions/checkout@v2
- name: Setup and run
run: cd build/release && ./docker-nightly.sh