Rewrite metadata to docker format (#43)

Co-authored-by: lumarel <lumarel@users.noreply.github.com>
This commit is contained in:
Lukas Magauer 2023-05-07 01:00:25 +02:00 committed by GitHub
parent a43b9a4233
commit e9e05ddfa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 }}