Skip to content

Commit

Permalink
Add a Makefile to locally generate the Docker image for AsciiDoc
Browse files Browse the repository at this point in the history
Signed-off-by: Dscano <[email protected]>
  • Loading branch information
Dscano committed Jan 10, 2025
1 parent 8b9c162 commit 4182d31
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ jobs:
- name: Run linter
run: |
./tools/asciidoclint.py docs/v1/P4Runtime-Spec.adoc
docker:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Run docker
run: |
make -C docs/tools/
build-spec:
runs-on: [ubuntu-latest]
Expand Down
3 changes: 3 additions & 0 deletions docs/tools/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
all:
docker build -t p4rt-asciidoc -f Dockerfile.asciidoc .
docker tag p4rt-asciidoc p4lang/p4rt-asciidoc:latest

0 comments on commit 4182d31

Please sign in to comment.