Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
machine:
services:
- docker
dependencies:
override:
- echo
test:
override:
- docker run -v $PWD:/tmp/redirect.name -w /tmp/redirect.name golang:1.4 go test
- docker run -v $PWD:/tmp/redirect.name -w /tmp/redirect.name -e CGO_ENABLED=0 golang:1.4 go build -a -installsuffix cgo -o server
- docker build -t holic/redirect.name .
deployment:
hub:
owner: holic
tag: /.*/
commands:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- "docker tag holic/redirect.name holic/redirect.name:${CIRCLE_TAG}"
- docker push holic/redirect.name
# If the above push doesn't work, try pushing each tag separately?
# - "docker push holic/redirect.name:${CIRCLE_TAG}"
# - docker push holic/redirect.name:latest