Skip to content

Commit

Permalink
fix: ci bundle image build
Browse files Browse the repository at this point in the history
Install correct golang version (1.21.x)
  • Loading branch information
mikenairn committed Feb 21, 2024
1 parent 8291d5d commit 2019ca0
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/controller-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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 }}

0 comments on commit 2019ca0

Please sign in to comment.