34
34
registry :
35
35
description : ' Image repository.'
36
36
required : true
37
- default : ' docker.stackable.tech'
37
+ default : ' oci.stackable.tech'
38
+ type : string
39
+ organization :
40
+ description : ' Organization name within the given registry'
41
+ required : true
42
+ default : ' sdp'
38
43
type : string
39
44
jobs :
40
45
preflight :
@@ -84,12 +89,14 @@ jobs:
84
89
if : ${{ inputs.submit == true }}
85
90
env :
86
91
REGISTRY : ${{ inputs.registry }}
87
- IMAGE_VERSION : ${{inputs.tag }}
92
+ ORGANIZATION : ${{ inputs.organization }}
93
+ IMAGE_VERSION : ${{ inputs.tag }}
88
94
run : |
89
95
ARCH_FOR_PREFLIGHT="$(arch | sed -e 's#x86_64#amd64#' | sed -e 's#aarch64#arm64#')"
90
96
check-container --product "${{ matrix.product }}" \
91
97
--image-version "$IMAGE_VERSION" \
92
98
--registry "$REGISTRY" \
99
+ --organization "$ORGANIZATION" \
93
100
--architecture "linux/${ARCH_FOR_PREFLIGHT}" \
94
101
--executable ./preflight-linux-amd64 \
95
102
--token "${{ secrets.RH_PYXIS_API_TOKEN }}" \
@@ -98,12 +105,14 @@ jobs:
98
105
if : ${{ inputs.submit == false }}
99
106
env :
100
107
REGISTRY : ${{ inputs.registry }}
101
- IMAGE_VERSION : ${{inputs.tag }}
108
+ ORGANIZATION : ${{ inputs.organization }}
109
+ IMAGE_VERSION : ${{ inputs.tag }}
102
110
run : |
103
111
ARCH_FOR_PREFLIGHT="$(arch | sed -e 's#x86_64#amd64#' | sed -e 's#aarch64#arm64#')"
104
112
check-container --product "${{ matrix.product }}" \
105
113
--image-version "$IMAGE_VERSION" \
106
114
--registry "$REGISTRY" \
115
+ --organization "$ORGANIZATION" \
107
116
--architecture "linux/${ARCH_FOR_PREFLIGHT}" \
108
117
--executable ./preflight-linux-amd64 \
109
118
--token "${{ secrets.RH_PYXIS_API_TOKEN }}" \
0 commit comments