File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 3434 else
3535 OWNER_TYPE=org
3636 fi
37+ echo "OWNER_TYPE=${OWNER_TYPE}" >> $GITHUB_ENV
3738 if [[ "${{ matrix.variant }}" != "" ]]
3839 then
3940 VARIANT="-${{ matrix.variant }}"
@@ -48,10 +49,13 @@ jobs:
4849 https://api.github.com/${OWNER_TYPE}/${OWNER}/packages/container/c-pac/versions/${VERSION_ID}
4950 - name : Delete all containers from repository without tags
5051 if : matrix.variant == ''
52+ env :
53+ OWNER_TYPE : ${{ env.OWNER_TYPE }}
5154 uses : Chizkiyahu/delete-untagged-ghcr-action@v6
5255 with :
5356 token : ${{ secrets.API_PACKAGE_READ_DELETE }}
5457 repository_owner : ${{ github.repository_owner }}
5558 repository : ${{ github.repository }}
5659 untagged_only : true
57- owner_type : org
60+ except_untagged_multiplatform : false
61+ owner_type : ${{ env.OWNER_TYPE }}
You can’t perform that action at this time.
0 commit comments