feat(ci): check Dockerfile #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Checks periodically that the Dockerfile builds successfully, and if it doesn't, it creates an issue with the error message. | |
name: Dockerfile Check | |
on: | |
workflow_dispatch: | |
schedule: | |
# Run every Sunday at midnight | |
- cron: '0 0 * * 0' | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
docker-check: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
docker build -t forest-test . | |
docker run --rm forest-test --version | |
- uses: JasonEtco/create-an-issue@v2 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
filename: .github/DOCKER_ISSUE_TEMPLATE.md |