Giter VIP home page Giter VIP logo

automatic_version_update_in_dockerfile's Introduction

workflows_testing

a workflow created for checking the version numbers in dockerfile, if a env variable is created with a particular version number or if there is any version number for any software in a dockerfile.

this workflow can be used to check every sunday or anytime you want. the latest version number for that library/software.

idea came because, for normal repos github has a workflow called depandabot that automatically updates the version number in pacakage.json/pacakge.lock.json if a new version is available. noticed that, it did not work for Dockerfiles. it solves that problem.

have fun with the workflow file and customize it to your needs.


  • currently the workflow file, checks the version numnber of the application present in the Dockerfile and checks online the latest version of that application. and if a new version is available, it creates a issue with a title and a body that's easily understandbale.

  • requires a github PAT, Github>Settings>Developer Settings>Personal Access Tokens>Generate New Token. have permissions set in such a way that it can access atleast that repo, and read it. have expiry set of the token to your liking. and add that token in the repo's setting. Repo Settings>Secrets & Variables>Actions>Repository secrets>New Repository secret> Name as "REPO_ACCESS_TOKEN" and the value as the token you just got from github PAT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.