diff --git a/.github/workflows/ko.yml b/.github/workflows/ko.yml new file mode 100644 index 0000000..1e7e280 --- /dev/null +++ b/.github/workflows/ko.yml @@ -0,0 +1,20 @@ +name: Publish + +on: + push: + branches: ['ko_build'] + +jobs: + publish: + name: Publish + runs-on: ubuntu-latest + steps: + - uses: actions/setup-go@v5 + with: + go-version: '1.22.4' + - uses: actions/checkout@v4 + + - uses: ko-build/setup-ko@v0.7 + env: + KO_DOCKER_REPO: ko.local + - run: ko build