From c3ebaae65d60b19d8f0bd78606d32043362e04c7 Mon Sep 17 00:00:00 2001 From: Yeray Borges Date: Tue, 27 Feb 2024 12:57:16 +0000 Subject: [PATCH] Fix release action and stick open-api gen to a specific version --- .github/workflows/release.yaml | 8 ++++++-- Makefile | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5068302d9..2b872f231 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -21,9 +21,13 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: 1.21.3 - name: Docker Login to Quay.io (main only) - uses: docker/login-action@v1.8.0 + uses: docker/login-action@v3.0.0 with: registry: ${{ env.REGISTRY }} username: ${{ env.REGISTRY_USER }} diff --git a/Makefile b/Makefile index 388ca7ff6..f4e8eed89 100644 --- a/Makefile +++ b/Makefile @@ -336,7 +336,7 @@ catalog-push: ## Push a catalog image. .PHONY: openapi-gen openapi-gen: $(OPENAPI_GEN) ## Download envtest-setup locally if necessary. $(OPENAPI_GEN): $(LOCALBIN) - test -s $(LOCALBIN)/openapi-gen || GOBIN=$(LOCALBIN) go install k8s.io/kube-openapi/cmd/openapi-gen@latest + test -s $(LOCALBIN)/openapi-gen || GOBIN=$(LOCALBIN) go install k8s.io/kube-openapi/cmd/openapi-gen@649db6989aaecdd64cc4ea16b76e0d0067664001 .PHONY: dlv dlv: $(DLV) ## Download envtest-setup locally if necessary.