Skip to content

Commit

Permalink
Merge pull request #2 from jokester/fix-demo-image-prefix
Browse files Browse the repository at this point in the history
v0.3.1
  • Loading branch information
jokester committed Aug 1, 2023
2 parents 4340a86 + a541a53 commit f2a08f2
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-demo-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
with:
images: ghcr.io/${{ github.repository }}
tags: |
type=ref,event=branch,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
type=ref,event=pr
# type=ref,prefix=demo,event=branch,enable=${{ github.ref == format('refs/heads/{0}', 'master') }}
type=ref,prefix=demo,event=pr
type=sha
- uses: docker/setup-buildx-action@v2
Expand Down
2 changes: 1 addition & 1 deletion demo/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"version": "1.0.0",
"scripts": {
"start": "exec publicaddr node demo-server.js # 'exec' allows our process to see SIGTERM"
"start": "exec publicaddr node demo-server.js"
},
"author": "Wang Guan <[email protected]>",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 13 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
{
"name": "publicaddr",
"version": "0.3.0",
"description": "allow node.js to listen on TCP with SO_REUSEPORT",
"version": "0.3.1",
"description": "Allow Node.js to listen on TCP with SO_REUSEPORT",
"repository": {
"type": "git",
"url": "git+https://github.com/jokester/publicaddr.git"
},
"bugs": {
"url": "https://github.com/jokester/publicaddr/issues"
},
"author": "Wang Guan <[email protected]>",
"homepage": "https://github.com/jokester/publicaddr#readme",
"main": "index.js",
"bin": {
"publicaddr": "bin/publicaddr"
Expand All @@ -18,10 +27,10 @@
"install": "node-gyp rebuild",
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "BSD",
"devDependencies": {
"nan": "^2.7.0",
"node-gyp": "^9.3.1"
}
},
"gypfile": true
}

0 comments on commit f2a08f2

Please sign in to comment.