Skip to content

Extract gethostname into a dedicated module. Add unit test and better error management #123

Extract gethostname into a dedicated module. Add unit test and better error management

Extract gethostname into a dedicated module. Add unit test and better error management #123

Workflow file for this run

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@v2
- name: Docker build
working-directory: ${{github.workspace}}
run: docker build --build-arg BUILD_TEST=${{matrix.with-tests}} -t coincenter -f ${{matrix.file-name}} .