add trigger docker build from nightly workflow and manually

This commit is contained in:
Colin Griffin 2022-01-04 09:49:00 -05:00 committed by GitHub
parent bfa16e213c
commit b52019ea2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 2 deletions

View File

@ -5,8 +5,15 @@ name: Build and push image to DockerHub
# Controls when the workflow will run
on:
push:
branches:
- main
branches: [main]
# update on run of Update Calendso nightly submodule update
workflow_run:
workflows: ["Update Calendso"]
branches: [main]
types:
- completed
# Allow running workflow manually from the Actions tab
workflow_dispatch:
# Leaving in example for releases. Initially we simply push to 'latest'
# on: