Git Product home page Git Product logo

commitizen-docker-image's Introduction

commitizen-docker-image

commitizen now avaialble in docker ๐Ÿ’ช

Docker Pulls Docker Image Size (tag) Docker Image Version (latest semver)

Docker images

We publish major versions starting with v3 + latest exact v3.

Tag Description
commitizen/commitizen:latest Latest major version, at the moment v3
commitizen/commitizen:3 Points to latest v3
commitizen/commitizen:3.x See tags
commitizen/commitizen:2 Points to latest v2
commitizen/commitizen:2.x See tags

This repo checks daily for the latest version and tries to publish it.

Migrating from v2 to v3 image

We've moved this images from using CMD to ENTRYPOINT for v3.

Where you were doing this:

docker run --rm --name commitizen registry.hub.docker.com/commitizen/commitizen:2 /bin/sh -c "cz ls"

Now you only need to do:

docker run --rm --name commitizen registry.hub.docker.com/commitizen/commitizen:3 ls

Usage

As Script

docker run --rm \
  -v $(pwd):/app \
  commitizen/commitizen:latest \
  bump --changelog

Inside container

Open a terminal inside docker with cz available and with the current directory mounted. This way we can run any cz command.

docker run --rm -it \
  --entrypoint /bin/sh \
  -v $(pwd):/app \
  commitizen/commitizen:latest

Contributing

Build and push image

./scripts/build
./scripts/push

Test locally

./scripts/build
./scripts/cz ls

commitizen-docker-image's People

Contributors

woile avatar bilelomrani1 avatar evantill avatar

Watchers

 avatar

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.