From c74555d5c779a6cfa62f4d680d0d42172722e02b Mon Sep 17 00:00:00 2001 From: Vishal Anarase Date: Thu, 7 Dec 2023 23:47:23 +0530 Subject: [PATCH] Update civo.yml --- .github/workflows/civo.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/civo.yml b/.github/workflows/civo.yml index 800b32c5813f..fcefff440a34 100644 --- a/.github/workflows/civo.yml +++ b/.github/workflows/civo.yml @@ -1,5 +1,8 @@ name: Release Civo Image -on: push +on: + push: + tags: + - '*' jobs: build: @@ -10,8 +13,7 @@ jobs: uses: actions/setup-go@v2 with: go-version: '>=1.20.0' - - name: Build binary - run: | + - run: | cd cluster-autoscaler && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o cluster-autoscaler-amd64 - name: Checkout uses: actions/checkout@v3