From 2019ca0114aec0ec5bd5efb08f2979f43673329f Mon Sep 17 00:00:00 2001 From: Michael Nairn Date: Wed, 21 Feb 2024 14:52:49 +0000 Subject: [PATCH] fix: ci bundle image build Install correct golang version (1.21.x) --- .github/workflows/controller-image.yaml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/controller-image.yaml b/.github/workflows/controller-image.yaml index e707e81e9..cd3555ff8 100644 --- a/.github/workflows/controller-image.yaml +++ b/.github/workflows/controller-image.yaml @@ -25,7 +25,7 @@ jobs: sha_short: ${{ steps.vars.outputs.sha_short }} controller_image: ${{ steps.vars.outputs.base_image }}:${{ steps.vars.outputs.sha_short }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Calculate vars id: vars @@ -68,8 +68,13 @@ jobs: name: Build bundle image runs-on: ubuntu-22.04 steps: + - name: Set up Go 1.21.x + uses: actions/setup-go@v4 + with: + go-version: 1.21.x + - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Calculate vars id: vars @@ -107,8 +112,13 @@ jobs: name: Build catalog image runs-on: ubuntu-22.04 steps: + - name: Set up Go 1.21.x + uses: actions/setup-go@v4 + with: + go-version: 1.21.x + - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Calculate vars id: vars @@ -135,4 +145,3 @@ jobs: - name: Make catalog push id: make-catalog-push run: make catalog-push REGISTRY=${{ env.IMG_REGISTRY_HOST }} ORG=${{ env.IMG_REGISTRY_ORG }} IMAGE_TAG=${{ github.ref_name }} -