build+ci: add Dockerfile and workflow
Refs: #5303
Change-Id: I757249bfc247a581c8dc9c782fef767561fd6896
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
new file mode 100644
index 0000000..9827007
--- /dev/null
+++ b/.github/workflows/docker.yml
@@ -0,0 +1,19 @@
+name: Docker
+on:
+ push:
+ tags:
+ - 'ndn-tools-*'
+ schedule:
+ # twice a month
+ - cron: '20 10 5,20 * *'
+ workflow_dispatch:
+
+permissions:
+ packages: write
+ id-token: write
+
+jobs:
+ ndn-tools:
+ uses: named-data/actions/.github/workflows/docker-image.yml@v1
+ with:
+ name: ndn-tools