Skip to content

Latest commit

 

History

History
66 lines (43 loc) · 1.43 KB

File metadata and controls

66 lines (43 loc) · 1.43 KB

GitHub Actions Kubernetes

A collection of GitHub actions for Kubernetes.

Setup DigitalOcean

Setup Digital-Ocean CLI and configure Kubernetes.

Example

  - uses: aboutbits/github-actions-kubernetes/do-setup-kubectl@v1
    with:
      digital-ocean-token: ${{ secrets.DIGITALOCEAN_TOKEN }}
      cluster-name: ${{ env.CLUSTER_NAME }}

Deploy to Kubernetes

Deploy application to a Kubernetes Cluster. Requires Kubernetes to be configured first.

Example

  - uses: aboutbits/github-actions-kubernetes/deploy@v1
    with:
      deployment-file: 'infrastructure/kubernetes.prod.yml'
      namespace-name: ${{ env.NAMESPACE_NAME }}
      deployment-name: ${{ env.DEPLOYMENT_NAME }}

Versioning

In order to have a versioning in place and working, create lightweight tags that point to the appropriate minor release versions.

Creating a new minor release:

git tag v1
git push --tags

Replacing an already existing minor release:

git tag -d v1
git push origin :refs/tags/v1
git tag v1
git push --tags

Information

About Bits is a company based in South Tyrol, Italy. You can find more information about us on our website.

Support

For support, please contact info@aboutbits.it.

Credits

License

The MIT License (MIT). Please see the license file for more information.