diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..1dc3d80 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,37 @@ +name: GitHub Release + +on: + push: + tags: + - 'v*' + +permissions: + contents: write + +jobs: + release: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '20' + cache: 'npm' + + - name: Install dependencies + run: npm ci + + - name: Build plugin + run: npx @kinvolk/headlamp-plugin build + + - name: Package tarball + run: npx @kinvolk/headlamp-plugin package + + - name: Create GitHub Release + uses: softprops/action-gh-release@v2 + with: + files: "*.tar.gz" + generate_release_notes: true diff --git a/artifacthub-pkg.yml b/artifacthub-pkg.yml new file mode 100644 index 0000000..fee7f0c --- /dev/null +++ b/artifacthub-pkg.yml @@ -0,0 +1,28 @@ +version: 0.0.1 +name: polaris-headlamp-plugin +displayName: Polaris +createdAt: "2026-02-05T19:00:00Z" +description: Surfaces Fairwinds Polaris audit results inside the Headlamp UI. +license: MIT +homeURL: "https://github.com/cpfarhood/polaris-headlamp-plugin" +category: security +keywords: + - polaris + - fairwinds + - security + - audit + - headlamp + - kubernetes +links: + - name: Source + url: "https://github.com/cpfarhood/polaris-headlamp-plugin" + - name: Polaris + url: "https://polaris.docs.fairwinds.com/" +maintainers: + - name: cpfarhood + email: "chris@farhood.org" +annotations: + headlamp/plugin/archive-url: "https://github.com/cpfarhood/polaris-headlamp-plugin/releases/download/v0.0.1/polaris-headlamp-plugin-0.0.1.tar.gz" + headlamp/plugin/version-compat: ">=0.26" + headlamp/plugin/archive-checksum: sha256:456f09cf8b126816b80c723b6c6f300b2af0c2e1288ee67da13f435b0e35c04d + headlamp/plugin/distro-compat: in-cluster diff --git a/artifacthub-repo.yml b/artifacthub-repo.yml index 9840c6a..9b2bde3 100644 --- a/artifacthub-repo.yml +++ b/artifacthub-repo.yml @@ -1,4 +1,4 @@ -repositoryID: polaris-headlamp-plugin +repositoryID: fb4c3789-de2b-4667-8fff-34f22e5648da owners: - - name: farhoodliquor - email: "" + - name: cpfarhood + email: "chris@farhood.org"