build_docker #604
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
name: build_docker | |
on: | |
# Run action on certain pull request events | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
# Nightly job on default (main) branch | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
# Build docker images | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v3 | |
- name: Build and push | |
uses: docker/build-push-action@v5 | |
with: | |
file: docker/Dockerfile | |
push: false |