From c2a00f5d03a9d461d91f2c9d2bfb556fda967818 Mon Sep 17 00:00:00 2001 From: Michi Mutsuzaki Date: Mon, 2 Oct 2023 22:36:31 +0000 Subject: [PATCH] Fix build-images-releases.yml I messed up the indentation, and accidentally removed an if condition. Fixes: 19e4a5ad512c ("Use 'go install' to install bom") Signed-off-by: Michi Mutsuzaki --- .github/workflows/build-images-releases.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-images-releases.yml b/.github/workflows/build-images-releases.yml index d17253fcce2..764a1132383 100644 --- a/.github/workflows/build-images-releases.yml +++ b/.github/workflows/build-images-releases.yml @@ -87,12 +87,13 @@ jobs: cosign sign quay.io/${{ github.repository_owner }}/${{ matrix.name }}@${{ steps.docker_build_release.outputs.digest }} cosign sign quay.io/${{ github.repository_owner }}/${{ matrix.name }}-ci@${{ steps.docker_build_release.outputs.digest }} - - name: Install Go - uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 - with: - go-version-file: 'go.mod' + - name: Install Go + uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 + with: + go-version-file: 'go.mod' - name: Install Bom + if: ${{ startsWith(steps.tag.outputs.tag, 'v') }} shell: bash env: # renovate: datasource=github-releases depName=kubernetes-sigs/bom