File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 1- 1.0.5
1+ 1.0.6
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ git pull origin master
99version=$( cat VERSION)
1010echo " version: $version "
1111
12- # exist if tag already exists.
12+ # exit if tag already exists.
1313if [ $( git tag -l " $version " ) ]; then
1414 echo " tag already exists. Ensure version number has been update in VERSION."
1515 exit 1
@@ -21,7 +21,4 @@ if ! [[ "$version" =~ ^[0-9.]+$ ]]; then
2121 exit 1
2222fi
2323
24- docker build -t githubexporter/github-exporter:latest -t githubexporter/github-exporter:$version .
25- docker push githubexporter/github-exporter:latest
26- docker push githubexporter/github-exporter:$version
27-
24+ docker buildx build --platform linux/amd64 -t githubexporter/github-exporter:latest -t githubexporter/github-exporter:$version --push .
You can’t perform that action at this time.
0 commit comments