Rewrite metadata to docker format

This commit is contained in:
lumarel 2023-05-07 00:44:24 +02:00
parent a43b9a4233
commit b2f58269af
Signed by untrusted user who does not match committer: lumarel
GPG Key ID: B253BD0C2E71BADE
2 changed files with 4 additions and 0 deletions

View File

@ -56,6 +56,7 @@ jobs:
labels: | labels: |
name=rockylinux name=rockylinux
version=${{ matrix.version.major }}-ubi-${{ matrix.type }} version=${{ matrix.version.major }}-ubi-${{ matrix.type }}
oci: true
tags: ${{ matrix.registry.domain }}/${{ matrix.registry.account }}/rockylinux:${{ matrix.version.major }}-ubi-${{ matrix.type }} tags: ${{ matrix.registry.domain }}/${{ matrix.registry.account }}/rockylinux:${{ matrix.version.major }}-ubi-${{ matrix.type }}
- name: Push image - name: Push image
@ -63,3 +64,5 @@ jobs:
with: with:
image: ${{ steps.build-image.outputs.image }} image: ${{ steps.build-image.outputs.image }}
tags: ${{ steps.build-image.outputs.tags }} tags: ${{ steps.build-image.outputs.tags }}
extra-args: |
--format=v2s2

View File

@ -44,4 +44,5 @@ jobs:
labels: | labels: |
name=rockylinux name=rockylinux
version=${{ matrix.version.major }}-ubi-${{ matrix.type }} version=${{ matrix.version.major }}-ubi-${{ matrix.type }}
oci: true
tags: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_ACCOUNT }}/rockylinux:${{ matrix.version.major }}-ubi-${{ matrix.type }} tags: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_ACCOUNT }}/rockylinux:${{ matrix.version.major }}-ubi-${{ matrix.type }}