From 4ba942d5866ed70fb52ee59ed0330c0d77447fd0 Mon Sep 17 00:00:00 2001 From: dctalbot Date: Sun, 17 Mar 2024 00:22:21 -0400 Subject: [PATCH] ghcr action --- .github/ghcr.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/ghcr.yaml diff --git a/.github/ghcr.yaml b/.github/ghcr.yaml new file mode 100644 index 0000000..cdb9d04 --- /dev/null +++ b/.github/ghcr.yaml @@ -0,0 +1,16 @@ +name: "Publish Image" + +on: + push: + branches: ["main"] + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/setup-go + with: + go-version-file: go.mod + - uses: actions/checkout + - uses: ko-build/setup-ko + - run: ko build