Configure a shutdown timeout to ensure that tasks have a chance to end #205
This file contains hidden or 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 and Run Docker Container | |
on: | |
pull_request: | |
push: | |
branches: main | |
permissions: {} | |
jobs: | |
build_and_run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Build Docker image | |
run: | | |
docker build -t zallet . | |
- name: Run command inside Docker container | |
run: | | |
docker run --rm zallet -h |