Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/link0/docker-release

Docker image to release docker images
https://github.com/link0/docker-release

Last synced: about 2 months ago
JSON representation

Docker image to release docker images

Awesome Lists containing this project

README

        

docker-release
==============

Docker image to release docker images

Usage
=====

Setup once:
```bash

alias docker-release="docker run -v $(pwd):/build -v $HOME/.gitconfig:/root/.gitconfig -v /var/run/docker.sock:/var/run/docker.sock --rm -ti link0/docker-release $1 $2";

```

Run every build
```bash

# Example image to name and build
IMAGENAME="link0/baseimage"

# Release tag used for git and docker
TAG="1.0.0"

docker-release $IMAGENAME $TAG

```