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 24a1309
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/controller-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- main
- "release-*"
- "fix-image-build"
tags:
- "v[0-9]+.[0-9]+.[0-9]+"

Expand All @@ -25,7 +26,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 +69,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 +113,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 +146,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 24a1309

Please sign in to comment.