24
24
- " Cargo.*"
25
25
- " Cross.toml"
26
26
workflow_call :
27
+ secrets :
28
+ QUAY_IO_TOKEN :
29
+ required : true
30
+ QUAY_IO_USERNAME :
31
+ required : true
27
32
workflow_dispatch :
28
33
29
34
# suffix to avoid cancellation when running from release workflow
@@ -145,6 +150,7 @@ jobs:
145
150
# list of Docker images to use as base name for tags
146
151
images : |
147
152
ghcr.io/eclipse-kuksa/kuksa-databroker-cli
153
+ quay.io/eclipse-kuksa/kuksa-databroker-cli
148
154
# generate Docker tags based on the following events/attributes
149
155
tags : |
150
156
type=ref,event=branch
@@ -157,15 +163,23 @@ jobs:
157
163
id : buildx
158
164
uses : docker/setup-buildx-action@v3
159
165
160
- - name : Log in to the Container registry
166
+ - name : Log in to ghcr.io container registry
161
167
if : needs.check_ghcr_push.outputs.push == 'true'
162
168
uses : docker/login-action@v3
163
169
with :
164
170
registry : ghcr.io
165
171
username : ${{ github.repository_owner }}
166
172
password : ${{ secrets.GITHUB_TOKEN }}
167
173
168
- - name : Build kuksa-databroker-cli container and push to ghcr.io (and ttl.sh)
174
+ - name : Log in to quay.io container registry
175
+ if : needs.check_ghcr_push.outputs.push == 'true'
176
+ uses : docker/login-action@v3
177
+ with :
178
+ registry : quay.io
179
+ username : ${{ secrets.QUAY_IO_USERNAME }}
180
+ password : ${{ secrets.QUAY_IO_TOKEN }}
181
+
182
+ - name : Build kuksa-databroker-cli container and push to ghcr.io, quay.io and ttl.sh
169
183
id : ghcr-build
170
184
if : needs.check_ghcr_push.outputs.push == 'true'
171
185
uses : docker/build-push-action@v5
0 commit comments