Skip to content

Commit f924bb6

Browse files
committed
Copy what kpack does
Signed-off-by: Tom Kennedy <tom.kennedy@broadcom.com>
1 parent 96b546b commit f924bb6

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ jobs:
5858
id: build
5959
uses: ./.github/actions/pack-build
6060
with:
61-
artifact_name: webhook
61+
artifact_name: webhook-image
6262
pack_version: ${{ env.PACK_VERSION }}
6363
tag: ${{ env.PUBLIC_IMAGE_DEV_REPO }}/webhook
6464
bp_go_targets: "./cmd/webhook"
@@ -81,7 +81,7 @@ jobs:
8181
id: build
8282
uses: ./.github/actions/pack-build
8383
with:
84-
artifact_name: setup-ca-certs
84+
artifact_name: setup-ca-certs-image
8585
pack_version: ${{ env.PACK_VERSION }}
8686
tag: ${{ env.PUBLIC_IMAGE_DEV_REPO }}/setup-ca-certs
8787
bp_go_targets: "./cmd/setup-ca-certs"
@@ -204,6 +204,10 @@ jobs:
204204

205205
- name: Download artifacts
206206
uses: actions/download-artifact@v4
207+
with:
208+
pattern: '*-image'
209+
path: images
210+
merge-multiple: true
207211

208212
- name: Docker Login
209213
uses: ./.github/actions/docker-login
@@ -225,7 +229,7 @@ jobs:
225229
id: promote
226230
run: |
227231
mkdir -p final-image-refs
228-
for image in "webhook" "setup-ca-certs"; do
232+
for image in images/*; do
229233
dev_image=$(cat $image)
230234
digest=$(echo $dev_image| cut -d "@" -f 2)
231235

0 commit comments

Comments
 (0)