From 260461371691f523462b12c55af3a9a87e80af83 Mon Sep 17 00:00:00 2001 From: Kolmar Kafran Date: Thu, 14 Nov 2024 14:34:59 +0000 Subject: [PATCH] Setup gh actions --- .github/workflows/publish.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/publish.yaml diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml new file mode 100644 index 0000000..95e63de --- /dev/null +++ b/.github/workflows/publish.yaml @@ -0,0 +1,17 @@ +name: Publish + +on: + push: + branches: ['main'] + +jobs: + publish: + name: Publish + runs-on: ubuntu-latest + steps: + - uses: actions/setup-go@v5 + with: + go-version: '1.23.x' + - uses: actions/checkout@v4 + - uses: ko-build/setup-ko@v0.7 + - run: ko build ./app \ No newline at end of file