diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index f9e5303..ea07577 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -109,9 +109,6 @@ jobs: echo -e "::group::\033[34mFetching manifest of image…\033[0m" - docker manifest inspect "ghcr.io/${{env.IMAGE_NAME}}:${{matrix.version}}" -v 2>/dev/null | jq '.SchemaV2Manifest' - docker manifest inspect "ghcr.io/${{env.IMAGE_NAME}}:${{matrix.version}}" -v 2>/dev/null | jq '.SchemaV2Manifest.layers[].digest' - image_base_layers=$(docker manifest inspect "ghcr.io/${{env.IMAGE_NAME}}:${{matrix.version}}" -v 2>/dev/null | jq '.SchemaV2Manifest.layers[].digest') if [[ -z "$image_base_layers" ]] ; then @@ -250,7 +247,7 @@ jobs: echo -e "::group::\033[34mFetching manifest of image…\033[0m" - image_base_layers=$(docker manifest inspect "ghcr.io/${{env.IMAGE_NAME}}:${{matrix.version}}-jemalloc" -v 2>/dev/null | jq '.[0].OCIManifest.layers[].digest') + image_base_layers=$(docker manifest inspect "ghcr.io/${{env.IMAGE_NAME}}:${{matrix.version}}-jemalloc" -v 2>/dev/null | jq '.SchemaV2Manifest.layers[].digest') if [[ -z "$image_base_layers" ]] ; then echo "::warning::Rebuild ${{matrix.version}} (reason: new image)" @@ -384,7 +381,7 @@ jobs: echo -e "::group::\033[34mFetching manifest of image…\033[0m" - image_base_layers=$(docker manifest inspect "ghcr.io/${{env.IMAGE_NAME}}:jruby-${{matrix.version}}" -v 2>/dev/null | jq '.[0].OCIManifest.layers[].digest') + image_base_layers=$(docker manifest inspect "ghcr.io/${{env.IMAGE_NAME}}:jruby-${{matrix.version}}" -v 2>/dev/null | jq '.SchemaV2Manifest.layers[].digest') if [[ -z "$image_base_layers" ]] ; then echo "::warning::Rebuild ${{matrix.version}} (reason: new image)"