File tree 1 file changed +12
-10
lines changed
1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change 2
2
3
3
# 1. commit to bump the version and update the changelog/readme
4
4
# 2. tag that commit
5
- # 3. use dist.sh to produce tar.gz for all platforms
5
+ # 3. use dist.sh to produce tar.gz for all platforms and docker push nsqio/nsq
6
6
# 4. upload *.tar.gz to bitly s3 bucket
7
- # 5. docker push nsqio/nsq
8
- # 6. push to nsqio/master
9
- # 7. update the release metadata on github / upload the binaries there too
10
- # 8. update nsqio/nsqio.github.io/_posts/2014-03-01-installing.md
11
- # 9. send release announcement emails
12
- # 10. update IRC channel topic
13
- # 11. tweet
7
+ # 5. push to nsqio/master
8
+ # 6. update the release metadata on github / upload the binaries there too
9
+ # 7. update nsqio/nsqio.github.io/_posts/2014-03-01-installing.md
10
+ # 8. send release announcement emails
11
+ # 9. update IRC channel topic
12
+ # 10. tweet
14
13
15
14
set -e
16
15
@@ -42,8 +41,11 @@ for os in linux darwin freebsd windows; do
42
41
sudo rm -r $BUILD
43
42
done
44
43
45
- docker build -t nsqio/nsq:v$version .
44
+ docker buildx create --name nsq
45
+ docker buildx use nsq
46
+ docker buildx build --tag nsqio/nsq:v$version . --platform linux/amd64,linux/arm64 --push
46
47
if [[ ! $version == * " -" * ]]; then
47
48
echo " Tagging nsqio/nsq:v$version as the latest release."
48
- docker tag nsqio/nsq:v $version nsqio/nsq:latest
49
+ docker buildx build -- tag nsqio/nsq:latest . --platform linux/amd64,linux/arm64 --push
49
50
fi
51
+ docker buildx rm nsq
You can’t perform that action at this time.
0 commit comments