Skip to content

Commit

Permalink
Add workflow that builds Docker image an runs it
Browse files Browse the repository at this point in the history
  • Loading branch information
Hannah Bast committed Sep 22, 2023
1 parent 5d75368 commit abaa519
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Docker build

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
merge_group:

concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
dockerfile: [ Dockerfile]

steps:
- name: Checkout the repository
uses: actions/checkout@v3
with:
submodules: 'recursive'

- name: Docker build
run: |
docker build -f ${{matrix.dockerfile}} -t osm2rdf .
docker run --rm osm2rdf

0 comments on commit abaa519

Please sign in to comment.