From e9e05ddfa01e02323107d2683432fa1a82ca4980 Mon Sep 17 00:00:00 2001 From: Lukas Magauer <42647570+lumarel@users.noreply.github.com> Date: Sun, 7 May 2023 01:00:25 +0200 Subject: [PATCH] Rewrite metadata to docker format (#43) Co-authored-by: lumarel --- .github/workflows/build-2nd-layer.yml | 3 +++ .github/workflows/ci.yml | 1 + 2 files changed, 4 insertions(+) diff --git a/.github/workflows/build-2nd-layer.yml b/.github/workflows/build-2nd-layer.yml index ac35653..ebba65e 100644 --- a/.github/workflows/build-2nd-layer.yml +++ b/.github/workflows/build-2nd-layer.yml @@ -56,6 +56,7 @@ jobs: labels: | name=rockylinux version=${{ matrix.version.major }}-ubi-${{ matrix.type }} + oci: true tags: ${{ matrix.registry.domain }}/${{ matrix.registry.account }}/rockylinux:${{ matrix.version.major }}-ubi-${{ matrix.type }} - name: Push image @@ -63,3 +64,5 @@ jobs: with: image: ${{ steps.build-image.outputs.image }} tags: ${{ steps.build-image.outputs.tags }} + extra-args: | + --format=v2s2 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be16862..4269863 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,4 +44,5 @@ jobs: labels: | name=rockylinux version=${{ matrix.version.major }}-ubi-${{ matrix.type }} + oci: true tags: ${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_ACCOUNT }}/rockylinux:${{ matrix.version.major }}-ubi-${{ matrix.type }}