ci: add release workflow
[skip ci]
Change-Id: Idfcef50378042e62c10494cc37d18e590688eba5
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index a3500bd..e6dfbf7 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,6 +1,8 @@
name: CI
on:
push:
+ branches:
+ - '**'
paths-ignore:
- '*.conf.sample*'
- 'Dockerfile'
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
new file mode 100644
index 0000000..fbe0fe5
--- /dev/null
+++ b/.github/workflows/release.yml
@@ -0,0 +1,17 @@
+name: Release
+on:
+ push:
+ tags:
+ - 'NFD-[0-9]+*'
+ workflow_dispatch:
+
+permissions:
+ attestations: write
+ contents: write
+ id-token: write
+
+jobs:
+ release:
+ uses: named-data/actions/.github/workflows/release.yml@v1
+ with:
+ submodules: true