This repository was archived by the owner on Nov 20, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 11name : Go Build & Test
2+
23on :
34 push :
45 branches :
56 - ' master'
67 pull_request :
78 branches :
89 - ' *'
10+
11+ env :
12+ KUBEBUILDER_VERSION : 2.3.2
13+
914jobs :
1015 build :
1116 runs-on : ubuntu-latest
@@ -17,11 +22,11 @@ jobs:
1722 go-version : 1.16.9
1823 - name : Install kubebuilder
1924 run : |
20- curl -L https://github.com/kubernetes-sigs/kubebuilder/releases/download/v2.3.1/kubebuilder_2.3.1_linux_amd64 .tar.gz -o /tmp/kb.tgz
25+ curl -L https://github.com/kubernetes-sigs/kubebuilder/releases/download/v${{ env.KUBEBUILDER_VERSION }}/kubebuilder_${{ env.KUBEBUILDER_VERSION }}_linux_amd64 .tar.gz -o /tmp/kb.tgz
2126 tar zxf /tmp/kb.tgz -C /tmp/
2227 - name : Run GoReleaser
2328 env :
24- KUBEBUILDER_ASSETS : /tmp/kubebuilder_2.3.1_linux_amd64 /bin/
25- uses : goreleaser/goreleaser-action@v2.8 .0
29+ KUBEBUILDER_ASSETS : /tmp/kubebuilder_${{ env.KUBEBUILDER_VERSION }}_linux_amd64 /bin/
30+ uses : goreleaser/goreleaser-action@v3.0 .0
2631 with :
2732 args : release --snapshot --skip-publish --rm-dist --skip-sign
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ permissions:
1010
1111env :
1212 DOCKER_REPO_NAME : hashicorp/terraform-k8s
13- KUBEBUILDER_VERSION : 3 .3.0
13+ KUBEBUILDER_VERSION : 2 .3.2
1414 RELEASE_NOTES : /tmp/release-notes.txt
1515
1616jobs :
You can’t perform that action at this time.
0 commit comments