Skip to content

Commit

Permalink
add safeguards to tag script
Browse files Browse the repository at this point in the history
  • Loading branch information
sam0x17 committed Jul 1, 2018
1 parent 71cd437 commit a9eab92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tag
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/bash
docker build . -t durosoft/crystal-alpine:$1 --compress
docker push durosoft/crystal-alpine:$1
docker build . -t durosoft/crystal-alpine:$1 --compress || exit 1
docker push durosoft/crystal-alpine:$1 || exit 1

0 comments on commit a9eab92

Please sign in to comment.