From 4e5a13745f946560ddd1ce8c1e9b8f7395fd63db Mon Sep 17 00:00:00 2001 From: Ramkumar Chinchani <45800463+rchincha@users.noreply.github.com> Date: Mon, 19 Sep 2022 09:52:53 -0700 Subject: [PATCH] revert oras annotations (#24) Signed-off-by: Ramkumar Chinchani --- .github/workflows/build.yaml | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index e0bb729..69d9ff3 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -188,27 +188,6 @@ jobs: registry: zothub.io username: ${{ secrets.ZOTHUB_USERNAME }} password: ${{ secrets.ZOTHUB_PASSWORD }} - - name: Push image annotations - run: | - curl -LO https://github.com/oras-project/oras/releases/download/v0.14.1/oras_0.14.1_linux_amd64.tar.gz - mkdir -p oras-install/ - tar -zxf oras_0.14.1_*.tar.gz -C oras-install/ - sudo mv oras-install/oras /usr/bin/ - rm -rf oras_0.14.1_*.tar.gz oras-install/ - oras version - # add annotations - DESC=$(cat images/${{ matrix.image }}/README.md) - LICENSE=$(cat images/${{ matrix.image }}/LICENSE.md) - echo "{\"\$manifest\": { - \"org.opencontainers.image.title\":\"${{ github.repository_owner }}/c3/${{ env.IMAGE }}\", - \"org.opencontainers.image.description\":\"$DESC\", - \"org.opencontainers.image.licenses\":\"$LICENSE\", - \"org.opencontainers.image.os\":\"${{ matrix.os }}\", - \"org.opencontainers.image.architecture\":\"${{ matrix.arch }}\" - } - }" > annotations.json - cat annotations.json - oras push zothub.io/${{ github.repository_owner }}/c3/${{ env.IMAGE }}:${{ env.IMAGE_TAG }} --artifact-type "application/vnd.oci.image.config.v1+json" --annotation-file annotations.json - name: Install go uses: actions/setup-go@v3 with: