[Feature] - Handle interrupt and termination signals to gracefully sh… #324
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
name: docker | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
docker: | |
name: Docker build | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
with-tests: [0, 1] | |
file-name: ["Dockerfile", "alpine.Dockerfile"] | |
steps: | |
- name: Checkout repository code | |
uses: actions/checkout@v4 | |
- name: Docker build | |
working-directory: ${{github.workspace}} | |
run: docker build --build-arg BUILD_TEST=${{matrix.with-tests}} -t coincenter -f ${{matrix.file-name}} . |