GithubHelp home page GithubHelp logo

Comments (6)

noevidenz avatar noevidenz commented on June 3, 2024

Instead of using the latest tag, it might be better to use a major version tag, such as 1.x and 2.x.

The trouble with latest is that someone could accidentally upgrade between major versions when a version 2.0 becomes the latest release. Using a major version number will allow people to safely pin to compatible versions and require them to deliberately change the image tag when they want to upgrade.

Besides that, having a stable release tag and a dev tag seems like a sensible approach.

from wallos.

devzwf avatar devzwf commented on June 3, 2024

Agree with
keep updating the latest tag is shopping for a disaster.
i suggest to have 4 kind of tags :

  • edge or dev : tag pointing to the cutting edge build - so if someone want to be always on the dge of the dev .. he do not hunter for version number
  • latest : tag for the latest release stable - so if someone want to be alway on the stable.....
  • version : what ever @ellite want , either major.minor.increment or year.day.increment - for those who like to pin to a special version
  • version-dev : what ever @ellite want , either major.minor.increment-dev or year.day.increment-dev - for those who like to pin to a special version

just some food for the discussion

from wallos.

RoguedBear avatar RoguedBear commented on June 3, 2024

This is the iteration I was thinking on maintaining tags while giving the author more control when to release stable/beta/nightly releases:

  • 3 actions:
    1. release-stable: takes in the git tag as an input and tags it with latest/stable/<version>
    2. release-dev: same as above but for tagging dev builds <version>-dev
    3. the 3rd one will auto build on every new git tag and publish the image. (maybe under <version>-rc or <version>-edge?)

i still feel this setup could be fleshed out more.
I would love take this up and contribute a PR if @ellite approves that

from wallos.

devzwf avatar devzwf commented on June 3, 2024

@RoguedBear i like it
let contribute a PR

from wallos.

RoguedBear avatar RoguedBear commented on June 3, 2024

@devzwf can you assign this issue to me then?
I was looking at the workflow file, I think I should be able to add this functionality in the same workflow file only

from wallos.

devzwf avatar devzwf commented on June 3, 2024

I would love to but only @ellite can for now.

from wallos.

Related Issues (20)

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.