summaryrefslogtreecommitdiff
path: root/.circleci/images/docker-deploy.sh
blob: 5ebb1d8424a237ba9e88e67b9998011ec3e6258d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

# increment tag each time either dockerfile changes
TAG=0.0.1

docker login -u $DOCKER_LOGIN -p $DOCKER_PASSWORD

pushd clang
docker build -t nng/ci/clang:$TAG .
popd

pushd gcc
docker build -t nng/ci/gcc:$TAG .
popd

docker push nng/ci/clang:$TAG
docker push nng/ci/gcc:$TAG