diff --git a/.github/workflows/github-actions-build.yaml b/.github/workflows/github-actions-build.yaml index 6444907..357288c 100644 --- a/.github/workflows/github-actions-build.yaml +++ b/.github/workflows/github-actions-build.yaml @@ -185,16 +185,16 @@ jobs: - name: Inspect image run: | docker buildx imagetools inspect ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.version }} - - name: Delete Template Image - working-directory: /tmp/digests - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: | - ls * | while read VERSION_ID; - do - echo "Delete image: ${REGISTRY}/${IMAGE_NAME}@sha256:${VERSION_ID}" - curl -X DELETE \ - -H "Authorization: Bearer ${GITHUB_TOKEN}" \ - -H "Accept: application/vnd.github+json" \ - https://api.github.com/user/packages/container/${PACKAGE_NAME}/versions/${VERSION_ID} - done \ No newline at end of file +# - name: Delete Template Image +# working-directory: /tmp/digests +# env: +# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} +# run: | +# ls * | while read VERSION_ID; +# do +# echo "Delete image: ${REGISTRY}/${IMAGE_NAME}@sha256:${VERSION_ID}" +# curl -X DELETE \ +# -H "Authorization: Bearer ${GITHUB_TOKEN}" \ +# -H "Accept: application/vnd.github+json" \ +# https://api.github.com/user/packages/container/${PACKAGE_NAME}/versions/${VERSION_ID} +# done \ No newline at end of file