Skip to content

Commit c3795eb

Browse files
committed
feat: add registry namespace input to build workflows and remove default
1 parent 43b826a commit c3795eb

26 files changed

+29
-5
lines changed

.github/workflows/build_airflow.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ jobs:
3030
with:
3131
product-name: airflow
3232
sdp-version: ${{ github.ref_type == 'tag' && github.ref_name || '0.0.0-dev' }}
33+
registry-namespace: sdp

.github/workflows/build_druid.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ jobs:
3232
with:
3333
product-name: druid
3434
sdp-version: ${{ github.ref_type == 'tag' && github.ref_name || '0.0.0-dev' }}
35+
registry-namespace: sdp

.github/workflows/build_hadoop.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ jobs:
3232
with:
3333
product-name: hadoop
3434
sdp-version: ${{ github.ref_type == 'tag' && github.ref_name || '0.0.0-dev' }}
35+
registry-namespace: sdp

.github/workflows/build_hbase.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@ jobs:
3333
with:
3434
product-name: hbase
3535
sdp-version: ${{ github.ref_type == 'tag' && github.ref_name || '0.0.0-dev' }}
36+
registry-namespace: sdp

.github/workflows/build_hello-world.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ jobs:
2828
with:
2929
product-name: hello-world
3030
sdp-version: ${{ github.ref_type == 'tag' && github.ref_name || '0.0.0-dev' }}
31+
registry-namespace: sdp

.github/workflows/build_hive.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@ jobs:
3333
with:
3434
product-name: hive
3535
sdp-version: ${{ github.ref_type == 'tag' && github.ref_name || '0.0.0-dev' }}
36+
registry-namespace: sdp

.github/workflows/build_java-base.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ jobs:
2828
with:
2929
product-name: java-base
3030
sdp-version: ${{ github.ref_type == 'tag' && github.ref_name || '0.0.0-dev' }}
31+
registry-namespace: sdp

.github/workflows/build_java-devel.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ jobs:
2828
with:
2929
product-name: java-devel
3030
sdp-version: ${{ github.ref_type == 'tag' && github.ref_name || '0.0.0-dev' }}
31+
registry-namespace: sdp

.github/workflows/build_kafka-testing-tools.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ jobs:
3232
with:
3333
product-name: kafka-testing-tools
3434
sdp-version: ${{ github.ref_type == 'tag' && github.ref_name || '0.0.0-dev' }}
35+
registry-namespace: sdp

.github/workflows/build_kafka.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,4 @@ jobs:
3434
with:
3535
product-name: kafka
3636
sdp-version: ${{ github.ref_type == 'tag' && github.ref_name || '0.0.0-dev' }}
37+
registry-namespace: sdp

.github/workflows/build_kcat.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ jobs:
3232
with:
3333
product-name: kcat
3434
sdp-version: ${{ github.ref_type == 'tag' && github.ref_name || '0.0.0-dev' }}
35+
registry-namespace: sdp

.github/workflows/build_krb5.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ jobs:
2828
with:
2929
product-name: krb5
3030
sdp-version: ${{ github.ref_type == 'tag' && github.ref_name || '0.0.0-dev' }}
31+
registry-namespace: sdp

.github/workflows/build_nifi.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ jobs:
3232
with:
3333
product-name: nifi
3434
sdp-version: ${{ github.ref_type == 'tag' && github.ref_name || '0.0.0-dev' }}
35+
registry-namespace: sdp

.github/workflows/build_omid.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ jobs:
3232
with:
3333
product-name: omid
3434
sdp-version: ${{ github.ref_type == 'tag' && github.ref_name || '0.0.0-dev' }}
35+
registry-namespace: sdp

.github/workflows/build_opa.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ jobs:
3030
with:
3131
product-name: opa
3232
sdp-version: ${{ github.ref_type == 'tag' && github.ref_name || '0.0.0-dev' }}
33+
registry-namespace: sdp

.github/workflows/build_spark-connect-client.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ jobs:
3131
with:
3232
product-name: spark-connect-client
3333
sdp-version: ${{ github.ref_type == 'tag' && github.ref_name || '0.0.0-dev' }}
34-
image-namespace: stackable
34+
registry-namespace: stackable

.github/workflows/build_spark-k8s.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@ jobs:
3333
with:
3434
product-name: spark-k8s
3535
sdp-version: ${{ github.ref_type == 'tag' && github.ref_name || '0.0.0-dev' }}
36+
registry-namespace: sdp

.github/workflows/build_stackable-base.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ jobs:
2929
with:
3030
product-name: stackable-base
3131
sdp-version: ${{ github.ref_type == 'tag' && github.ref_name || '0.0.0-dev' }}
32+
registry-namespace: sdp

.github/workflows/build_superset.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,4 @@ jobs:
3030
with:
3131
product-name: superset
3232
sdp-version: ${{ github.ref_type == 'tag' && github.ref_name || '0.0.0-dev' }}
33+
registry-namespace: sdp

.github/workflows/build_testing-tools.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ jobs:
2828
with:
2929
product-name: testing-tools
3030
sdp-version: ${{ github.ref_type == 'tag' && github.ref_name || '0.0.0-dev' }}
31+
registry-namespace: sdp

.github/workflows/build_tools.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,4 @@ jobs:
2929
with:
3030
product-name: tools
3131
sdp-version: ${{ github.ref_type == 'tag' && github.ref_name || '0.0.0-dev' }}
32+
registry-namespace: sdp

.github/workflows/build_trino-cli.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ jobs:
3131
with:
3232
product-name: trino-cli
3333
sdp-version: ${{ github.ref_type == 'tag' && github.ref_name || '0.0.0-dev' }}
34+
registry-namespace: sdp

.github/workflows/build_trino.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ jobs:
3232
with:
3333
product-name: trino
3434
sdp-version: ${{ github.ref_type == 'tag' && github.ref_name || '0.0.0-dev' }}
35+
registry-namespace: sdp

.github/workflows/build_vector.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ jobs:
2828
with:
2929
product-name: vector
3030
sdp-version: ${{ github.ref_type == 'tag' && github.ref_name || '0.0.0-dev' }}
31+
registry-namespace: sdp

.github/workflows/build_zookeeper.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ jobs:
3232
with:
3333
product-name: zookeeper
3434
sdp-version: ${{ github.ref_type == 'tag' && github.ref_name || '0.0.0-dev' }}
35+
registry-namespace: sdp

.github/workflows/reusable_build_image.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ on:
77
sdp-version:
88
required: true
99
type: string
10-
image-namespace:
10+
registry-namespace:
11+
required: true
1112
type: string
12-
default: "sdp"
1313
secrets:
1414
harbor-robot-secret:
1515
description: The secret for the Harbor robot user used to push images and manifest
@@ -69,7 +69,7 @@ jobs:
6969
image-registry-uri: oci.stackable.tech
7070
image-registry-username: robot$sdp+github-action-build
7171
image-registry-password: ${{ secrets.harbor-robot-secret }}
72-
image-repository: ${{ inputs.image-namespace }}/${{ inputs.product-name }}
72+
image-repository: ${{ inputs.registry-namespace }}/${{ inputs.product-name }}
7373
image-manifest-tag: ${{ steps.build.outputs.image-manifest-tag }}
7474
source-image-uri: localhost/${{ inputs.product-name }}:${{ steps.build.outputs.image-manifest-tag }}
7575

@@ -95,7 +95,7 @@ jobs:
9595
image-registry-uri: oci.stackable.tech
9696
image-registry-username: robot$sdp+github-action-build
9797
image-registry-password: ${{ secrets.harbor-robot-secret }}
98-
image-repository: ${{ inputs.image-namespace }}/${{ inputs.product-name }}
98+
image-repository: ${{ inputs.registry-namespace }}/${{ inputs.product-name }}
9999
image-index-manifest-tag: ${{ matrix.versions }}-stackable${{ inputs.sdp-version }}
100100

101101
notify:

0 commit comments

Comments
 (0)