Skip to content

Commit aef82e7

Browse files
authored
Update image-build-and-upload.yml
1 parent a792f84 commit aef82e7

File tree

1 file changed

+49
-2
lines changed

1 file changed

+49
-2
lines changed

.github/workflows/image-build-and-upload.yml

+49-2
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,8 @@ jobs:
281281
image: oracle-free
282282
tags: ${{ steps.tag-images.outputs.FLAVOR_NO_DASH }}-faststart-${{ matrix.arch }}
283283

284-
upload-manifests-tags:
285-
name: ⬆️ 📋 Upload manifest to registries
284+
upload-versioned-manifests-tags:
285+
name: ⬆️ 📋 Upload versioned manifests to registries
286286
runs-on: ubuntu-24.04
287287
needs: [ set-constants, upload-latest-tags ]
288288
strategy:
@@ -304,3 +304,50 @@ jobs:
304304
platforms: linux/amd64,linux/arm64
305305
template: ghcr.io/${{ github.repository_owner }}/test/oracle-free:${{ matrix.version }}${{ matrix.image_flavor }}${{ matrix.image_faststart }}-ARCH
306306
target: ghcr.io/${{ github.repository_owner }}/test/oracle-free:${{ matrix.version }}${{ matrix.image_flavor }}${{ matrix.image_faststart }}
307+
308+
upload-23-manifests-tags:
309+
name: ⬆️ 📋 Upload 23 manifests to registries
310+
runs-on: ubuntu-24.04
311+
needs: [ set-constants, upload-latest-tags ]
312+
strategy:
313+
matrix:
314+
image_flavor: [ "-full", "", "-slim" ]
315+
image_faststart: [ "", "-faststart" ]
316+
317+
permissions:
318+
packages: write
319+
contents: read
320+
321+
steps:
322+
- name: Push multi-arch manifest
323+
uses: pixelfederation/gh-action-manifest-tool@v0.1.7
324+
with:
325+
username: ${{ github.actor }}
326+
password: ${{ secrets.GITHUB_TOKEN }}
327+
platforms: linux/amd64,linux/arm64
328+
template: ghcr.io/${{ github.repository_owner }}/test/oracle-free:23${{ matrix.image_flavor }}${{ matrix.image_faststart }}-ARCH
329+
target: ghcr.io/${{ github.repository_owner }}/test/oracle-free:23${{ matrix.image_flavor }}${{ matrix.image_faststart }}
330+
331+
332+
upload-latest-manifests-tags:
333+
name: ⬆️ 📋 Upload latest manifests to registries
334+
runs-on: ubuntu-24.04
335+
needs: [ set-constants, upload-latest-tags ]
336+
strategy:
337+
matrix:
338+
image_flavor: [ "full", "latest", "slim" ]
339+
image_faststart: [ "", "-faststart" ]
340+
341+
permissions:
342+
packages: write
343+
contents: read
344+
345+
steps:
346+
- name: Push multi-arch manifest
347+
uses: pixelfederation/gh-action-manifest-tool@v0.1.7
348+
with:
349+
username: ${{ github.actor }}
350+
password: ${{ secrets.GITHUB_TOKEN }}
351+
platforms: linux/amd64,linux/arm64
352+
template: ghcr.io/${{ github.repository_owner }}/test/oracle-free:${{ matrix.image_flavor }}${{ matrix.image_faststart }}-ARCH
353+
target: ghcr.io/${{ github.repository_owner }}/test/oracle-free:${{ matrix.image_flavor }}${{ matrix.image_faststart }}

0 commit comments

Comments
 (0)