mirror of
https://github.com/yannh/kubeconform.git
synced 2026-04-23 11:54:38 +00:00
Publish site
This commit is contained in:
parent
6c1fa513e9
commit
3a3d05b27c
50 changed files with 2310 additions and 0 deletions
89
site/public/docs/usage-as-github-action/index.html
Normal file
89
site/public/docs/usage-as-github-action/index.html
Normal file
|
|
@ -0,0 +1,89 @@
|
|||
<!DOCTYPE html>
|
||||
<html><head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="author" content="Yann Hamon">
|
||||
<link rel="stylesheet" type="text/css" href="/css/style.css"><link rel="stylesheet" type="text/css" href="/css/prism.css">
|
||||
<title>Kubeconform - Fast Kubernetes manifests validation! | Github Action</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="main-container"><div id="header">
|
||||
<ul id="navigation">
|
||||
<li><a href="/about">About</a></li>
|
||||
<li><a href="/docs/installation/">Docs</a></li>
|
||||
<li><a href="/">Home</a></li>
|
||||
</ul>
|
||||
<h1>Kubeconform</h1>
|
||||
<h2>A fast Kubernetes manifests validator</h2>
|
||||
</div>
|
||||
<div id="content"><ul id="menu">
|
||||
|
||||
<li><a href="http://kubeconform.mandragor.org/docs/installation/">Installation</a></li>
|
||||
|
||||
<li><a href="http://kubeconform.mandragor.org/docs/usage/">Usage</a></li>
|
||||
|
||||
<li><a href="http://kubeconform.mandragor.org/docs/crd-support/">Custom Resources support</a></li>
|
||||
|
||||
<li><a href="http://kubeconform.mandragor.org/docs/usage-as-github-action/">Github Action</a></li>
|
||||
|
||||
<li><a href="http://kubeconform.mandragor.org/docs/using-as-a-go-module/">Kubeconform as a Go module</a></li>
|
||||
|
||||
<li><a href="http://kubeconform.mandragor.org/docs/json-schema-conversion/">Conversion of CRD to JSON Schema</a></li>
|
||||
|
||||
</ul>
|
||||
<div id="main">
|
||||
|
||||
<div class="navig">
|
||||
|
||||
<a href="http://kubeconform.mandragor.org/docs/using-as-a-go-module/" id="prev">< Kubeconform as a Go module</a>
|
||||
|
||||
|
||||
<a href="http://kubeconform.mandragor.org/docs/crd-support/" id="next">Custom Resources support ></a>
|
||||
|
||||
</div>
|
||||
|
||||
<div id="content-text">
|
||||
<h1>Github Action</h1>
|
||||
<p>Kubeconform is publishes Docker Images to Github’s new Container Registry, ghcr.io. These images
|
||||
can be used directly in a Github Action, once logged in using a <a href="https://github.blog/changelog/2021-03-24-packages-container-registry-now-supports-github_token/"><em>Github Token</em></a>.</p>
|
||||
|
||||
<pre><code class="language-bash">name: kubeconform
|
||||
on: push
|
||||
jobs:
|
||||
kubeconform:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: login to Github Packages
|
||||
run: echo "${{ github.token }}" | docker login https://ghcr.io -u ${GITHUB_ACTOR} --password-stdin
|
||||
- uses: actions/checkout@v2
|
||||
- uses: docker://ghcr.io/yannh/kubeconform:master
|
||||
with:
|
||||
entrypoint: '/kubeconform'
|
||||
args: "-summary -output json kubeconfigs/"
|
||||
</code></pre>
|
||||
<p><em>Note on pricing</em>: Kubeconform relies on Github Container Registry which is currently in Beta. During that period,
|
||||
<a href="https://docs.github.com/en/packages/guides/about-github-container-registry">bandwidth is free</a>. After that period,
|
||||
bandwidth costs might be applicable. Since bandwidth from Github Packages within Github Actions is free, I expect
|
||||
Github Container Registry to also be usable for free within Github Actions in the future. If that were not to be the
|
||||
case, I might publish the Docker image to a different platform.</p>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="navig">
|
||||
|
||||
<a href="http://kubeconform.mandragor.org/docs/using-as-a-go-module/" id="prev">< Kubeconform as a Go module</a>
|
||||
|
||||
|
||||
<a href="http://kubeconform.mandragor.org/docs/crd-support/" id="next">Custom Resources support ></a>
|
||||
|
||||
</div>
|
||||
|
||||
<script defer src="/js/prism.js"></script>
|
||||
|
||||
</div>
|
||||
</div><div id="footer">
|
||||
Website powered by <a href="https://gohugo.io/">Hugo</a>
|
||||
</div>
|
||||
</div>
|
||||
<script defer src="/js/prism.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue