diff --git a/VERSION b/VERSION index 90a27f9c..af0b7ddb 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.5 +1.0.6 diff --git a/release-version.sh b/release-version.sh index 576dcb87..bdf98c0d 100755 --- a/release-version.sh +++ b/release-version.sh @@ -9,7 +9,7 @@ git pull origin master version=$(cat VERSION) echo "version: $version" -# exist if tag already exists. +# exit if tag already exists. if [ $(git tag -l "$version") ]; then echo "tag already exists. Ensure version number has been update in VERSION." exit 1 @@ -21,7 +21,4 @@ if ! [[ "$version" =~ ^[0-9.]+$ ]]; then exit 1 fi -docker build -t githubexporter/github-exporter:latest -t githubexporter/github-exporter:$version . -docker push githubexporter/github-exporter:latest -docker push githubexporter/github-exporter:$version - +docker buildx build --platform linux/amd64 -t githubexporter/github-exporter:latest -t githubexporter/github-exporter:$version --push .