Giter Site home page Giter Site logo

sebbo2002 / semantic-release-docker Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 4.7 MB

Plugin for semantic-release that tags a previously built Docker image and pushes it to one or more Docker registries

License: MIT License

JavaScript 5.47% TypeScript 94.53%

semantic-release-docker's Introduction

@sebbo2002/semantic-release-docker

License

Small plugin for semantic-release that tags a previously built Docker image and pushes it to one or more Docker registries. It is assumed that the login has already happened before. Supports copying / tagging of multi-platform images if regclient is installed in the PATH.

๐Ÿ“ฆ Installation

npm i --D @sebbo2002/semantic-release-docker

๐Ÿ”ง Configuration Example

[
    ['@sebbo2002/semantic-release-docker', {
        images: [
            'ghcr.io/sebbo2002/ble2mqtt@sha256:20d67c38e5d1e215413efdca800069998e325669c91a84cba37033866baecc98',
            'sebbo2002/ble2mqtt:49055cc3e7292e11e9aa081418e3e5570c1f163a'
        ],
        tag: {
            latest: true,
            major: true,
            minor: true,
            version: true,
            channel: true
        }
    }]
]
images A single image or mutliple images as array. Used as source images to tag.
tag.latest Set to true to create latest tag (except it's a pre-release)
tag.major Set to true to create a major tag (except it's a pre-release, v4.2.9 โ†’ image:4)
tag.minor Set to true to create a minor tag (except it's a pre-release, v4.2.9 โ†’ image:4.2)
tag.version Set to true to create a minor tag (v4.2.9-develop.1 โ†’ image:4.2.9-develop.1)
tag.channel Set to true to create channel tags (v4.2.9-develop.1 in channel next โ†’ image:next)

๐Ÿ™†๐Ÿผโ€โ™‚๏ธ Copyright and license

Copyright (c) Sebastian Pekarek under the MIT license.

semantic-release-docker's People

Contributors

dependabot[bot] avatar depfu[bot] avatar github-actions[bot] avatar sebbo2002 avatar semantic-release-bot avatar

Stargazers

 avatar

Watchers

 avatar  avatar

semantic-release-docker's Issues

Version 2.0.0 & ESM Issues

Version 2.0.0 is a pure ESM build and currently does not work with semantic-release. More information about this can be found in this ticket. Please continue to use version 1.x.x. You can install this version again with npm i -D @sebbo2002/semantic-release-docker@1.

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.