File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- 1.0.3
1+ 1.0.4
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3+ set -euo pipefail
4+
35# ensure git is in the correct branch and has latest from remote.
46git checkout master
57git pull origin master
@@ -19,9 +21,7 @@ if ! [[ "$version" =~ ^[0-9.]+$ ]]; then
1921 exit 1
2022fi
2123
22- docker build -t infinityworks/github-exporter:latest -t infinityworks/github-exporter:$version -t githubexporter/github-exporter:latest -t githubexporter/github-exporter:$version .
23- docker push infinityworks/github-exporter:latest
24- docker push infinityworks/github-exporter:$version
24+ docker build -t githubexporter/github-exporter:latest -t githubexporter/github-exporter:$version .
2525docker push githubexporter/github-exporter:latest
2626docker push githubexporter/github-exporter:$version
2727
You can’t perform that action at this time.
0 commit comments