Skip to content

Commit 8845838

Browse files
fix: docker build
1 parent f52c0b5 commit 8845838

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/release

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ gox -parallel 4 -osarch="linux/amd64 darwin/amd64 linux/arm windows/amd64" -ldfl
99

1010
ghr $(cat .ghr) bin/
1111

12-
cd ./npm-package && npm publish
13-
1412
# docker build
1513
export IMAGE_NAME="docker.pkg.github.com/go-semantic-release/semantic-release/semantic-release"
1614
export IMAGE_NAME_VERSION="$IMAGE_NAME:$VERSION"
@@ -22,3 +20,6 @@ docker tag $IMAGE_NAME_VERSION $IMAGE_NAME
2220
docker login docker.pkg.github.com -u $GITHUB_ACTOR -p $GITHUB_TOKEN
2321
docker push $IMAGE_NAME_VERSION
2422
docker push $IMAGE_NAME
23+
24+
# publish npm package
25+
cd ./npm-package && npm publish

0 commit comments

Comments
 (0)