Skip to content

Commit 7f11a38

Browse files
committed
Fix docker targets
Signed-off-by: Jakub Stejskal <xstejs24@gmail.com>
1 parent 6205602 commit 7f11a38

3 files changed

Lines changed: 38 additions & 38 deletions

File tree

.github/actions/build/containers-push/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ runs:
116116
path: sbom.tar.gz
117117

118118
- name: Push SBOMs to registry
119-
if: ${{ startsWith(github.ref, 'refs/heads/keyless-image-sign') }}
119+
if: ${{ startsWith(github.ref, 'refs/heads/release-') }}
120120
shell: bash
121121
run: |
122122
IFS=',' read -ra ARCH_ARRAY <<< "${{ inputs.architectures }}"

.github/workflows/build.yml

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@ jobs:
2828
runnerArch: "amd64"
2929

3030
# Runs Strimzi unit and integration tests
31-
# test-strimzi:
32-
# name: Strimzi Unit & IT tests
33-
# needs:
34-
# - build-strimzi
35-
# runs-on: ubuntu-latest
36-
# steps:
37-
# - uses: actions/checkout@v5
38-
# - uses: ./.github/actions/build/test-strimzi
39-
# with:
40-
# runnerArch: "amd64"
31+
test-strimzi:
32+
name: Strimzi Unit & IT tests
33+
needs:
34+
- build-strimzi
35+
runs-on: ubuntu-latest
36+
steps:
37+
- uses: actions/checkout@v5
38+
- uses: ./.github/actions/build/test-strimzi
39+
with:
40+
runnerArch: "amd64"
4141

4242
# Builds Strimzi docs
4343
build-docs:
@@ -73,32 +73,32 @@ jobs:
7373
runnerArch: "amd64"
7474

7575
# Push Strimzi containers - run only on main branch
76-
push-containers:
77-
name: Push Containers
78-
needs:
79-
- build-strimzi
76+
# push-containers:
77+
# name: Push Containers
78+
# needs:
79+
# - build-strimzi
8080
# - test-strimzi
81-
- build-containers
82-
- build-docs
83-
if: ${{ github.ref == 'refs/heads/keyless-image-sign' }}
84-
runs-on: ubuntu-latest
85-
permissions:
86-
contents: read
87-
packages: write
88-
# Required for keyless signing with GitHub OIDC
89-
id-token: write
90-
env:
91-
DOCKER_REGISTRY: "quay.io"
92-
DOCKER_ORG: "jstejska"
93-
DOCKER_TAG: "latest"
94-
steps:
95-
- uses: actions/checkout@v5
96-
- uses: ./.github/actions/build/containers-push
97-
with:
98-
architectures: "amd64,arm64,ppc64le,s390x"
99-
runnerArch: "amd64"
100-
quayUser: ${{ secrets.QUAY_USER }}
101-
quayPass: ${{ secrets.QUAY_PASS }}
81+
# - build-containers
82+
# - build-docs
83+
# if: ${{ github.ref == 'refs/heads/main' }}
84+
# runs-on: ubuntu-latest
85+
# permissions:
86+
# contents: read
87+
# packages: write
88+
# # Required for keyless signing with GitHub OIDC
89+
# id-token: write
90+
# env:
91+
# DOCKER_REGISTRY: "quay.io"
92+
# DOCKER_ORG: "strimzi"
93+
# DOCKER_TAG: "latest"
94+
# steps:
95+
# - uses: actions/checkout@v5
96+
# - uses: ./.github/actions/build/containers-push
97+
# with:
98+
# architectures: "amd64,arm64,ppc64le,s390x"
99+
# runnerArch: "amd64"
100+
# quayUser: ${{ secrets.QUAY_USER }}
101+
# quayPass: ${{ secrets.QUAY_PASS }}
102102

103103
# # Publish Strimzi docs to the website - run only on main branch
104104
# publish-docs:

docker-images/kafka-based/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ docker_push_sbom:
5353

5454
# TODO - remove gha prefix once migrated fully to gha
5555
docker_gha_sbom:
56-
./build.sh docker_sbom
56+
./build.sh docker_gha_sbom
5757

5858
# TODO - remove gha prefix once migrated fully to gha
5959
docker_gha_push_sbom:
60-
./build.sh docker_push_sbom
60+
./build.sh docker_gha_push_sbom
6161

6262
all: docker_build docker_push
6363

0 commit comments

Comments
 (0)