https://github.com/int128/kubebuilder-workflows
Reusable workflows for kubebuilder project
https://github.com/int128/kubebuilder-workflows
github-actions golang kubebuilder kubernetes reusable-workflows
Last synced: 9 months ago
JSON representation
Reusable workflows for kubebuilder project
- Host: GitHub
- URL: https://github.com/int128/kubebuilder-workflows
- Owner: int128
- License: apache-2.0
- Created: 2023-01-29T09:26:56.000Z (almost 3 years ago)
- Default Branch: v1
- Last Pushed: 2025-03-09T10:12:22.000Z (9 months ago)
- Last Synced: 2025-03-09T11:19:34.826Z (9 months ago)
- Topics: github-actions, golang, kubebuilder, kubernetes, reusable-workflows
- Language: Makefile
- Homepage:
- Size: 163 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kubebuilder-workflows [](https://github.com/int128/kubebuilder-workflows/actions/workflows/test-workflows.yaml)
This provides the reusable workflows for a Kubebuilder project.
## Getting Started
```yaml
name: go
on:
pull_request:
paths:
- .github/workflows/go.yaml
- go.*
- '**/*.go'
- Makefile
push:
branches:
- main
paths:
- .github/workflows/go.yaml
- go.*
- '**/*.go'
- Makefile
jobs:
go:
uses: int128/kubebuilder-workflows/.github/workflows/go.yaml@v1
permissions:
contents: write
pull-requests: write
with:
go-version-file: go.sum
cache-dependency-path: go.sum
```
```yaml
name: manifest
on:
pull_request:
paths:
- config/**
- .github/workflows/manifest.yaml
jobs:
manifest:
uses: int128/kubebuilder-workflows/.github/workflows/manifest.yaml@v1
permissions:
contents: read
pull-requests: write
```
```yaml
name: release
on:
push:
tags:
- v*
pull_request:
paths:
- config/**
- .github/workflows/release.yaml
jobs:
manifest:
uses: int128/kubebuilder-workflows/.github/workflows/release.yaml@v1
permissions:
contents: write
```