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

https://github.com/jtemporal/autom-dockerhub-example

Automated build, tag and push Docker images to DockerHub
https://github.com/jtemporal/autom-dockerhub-example

Last synced: 10 months ago
JSON representation

Automated build, tag and push Docker images to DockerHub

Awesome Lists containing this project

README

          

# Sum

## Running

```
docker run --rm sum 4 2
```

## Automated build, tag and push

Remember to export your DockerHub username to `DOCKER_USERNAME`

```
./push.sh sum
```

## Building

```
docker build -t sum .
```

## Tagging

Remember to export your DockerHub username to `DOCKER_USERNAME`

```
docker tag sum $(echo $DOCKER_USERNAME)/sum
```

## Pushing

```
docker push $(echo $DOCKER_USERNAME)/sum
```