Skip to content

Add config generator and workflow #1

Add config generator and workflow

Add config generator and workflow #1

name: Generate ConfigMap
on: [push]
jobs:
push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: '1.21.x'
- name: Build Generator
run: go build -o bin/generator ./generator/generator.go
- name: Generate ConfigMap
run: ./bin/generator
# Commit all changed files back to the repository
- uses: stefanzweifel/git-auto-commit-action@v4
id: auto_commit
with:
branch: main