container-retention-policy | Github action for pruning old GHCR container image versions

 by   snok Python Version: v2.1.1 License: No License

kandi X-RAY | container-retention-policy Summary

kandi X-RAY | container-retention-policy Summary

container-retention-policy is a Python library. container-retention-policy has no bugs, it has no vulnerabilities and it has low support. However container-retention-policy build file is not available. You can download it from GitHub.

A GitHub Action for deleting old image versions from the GitHub container registry. Storage isn't free and registries can often get bloated with unused images. Having a retention policy to prevent clutter makes sense in most cases. Supports both organizational and personal accounts.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              container-retention-policy has a low active ecosystem.
              It has 96 star(s) with 18 fork(s). There are 2 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 6 open issues and 22 have been closed. On average issues are closed in 38 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of container-retention-policy is v2.1.1

            kandi-Quality Quality

              container-retention-policy has no bugs reported.

            kandi-Security Security

              container-retention-policy has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              container-retention-policy does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              container-retention-policy releases are available to install and integrate.
              container-retention-policy has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of container-retention-policy
            Get all kandi verified functions for this library.

            container-retention-policy Key Features

            No Key Features are available at this moment for container-retention-policy.

            container-retention-policy Examples and Code Snippets

            Examples
            Pythondot img1Lines of Code : 52dot img1no licencesLicense : No License
            copy iconCopy
            name: Delete old container images
            
            on:
              schedule:
                - cron: '0 0 * * *'  # every day at midnight
            
            
            jobs:
              clean-ghcr:
                name: Delete old unused container images
                runs-on: ubuntu-latest
                steps:
                  - name: Delete 'dev' containers older t  
            Usage
            Pythondot img2Lines of Code : 10dot img2no licencesLicense : No License
            copy iconCopy
            - uses: snok/container-retention-policy@v1
              with:
                image-names: dev, web, test
                cut-off: two hours ago UTC+2
                timestamp-to-use: updated_at
                account-type: org
                org-name: google
                keep-at-least: 1
                skip-tags: latest
                token: ${{   

            Community Discussions

            No Community Discussions are available at this moment for container-retention-policy.Refer to stack overflow page for discussions.

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install container-retention-policy

            You can download it from GitHub.
            You can use container-retention-policy like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/snok/container-retention-policy.git

          • CLI

            gh repo clone snok/container-retention-policy

          • sshUrl

            git@github.com:snok/container-retention-policy.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link