Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/docker-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 🐳 Docker Build

on:
push:
branches: [main, dev, testCI]

jobs:

docker-build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Build Docker image
run: docker build -t puml2xml .

- name: Run Docker container - Smoke Test
run: |
docker run --rm -d --name test-container puml2xml
docker run --rm puml2xml ls -l /data/puml2xml
docker run --rm puml2xml /data/puml2xml -h
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,3 @@ RUN opam install -y dune
USER root

RUN eval $(opam env) && make

CMD ["./puml2xml"]