Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/types/node-20.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
madhavilosetty-intel authored Sep 20, 2023
2 parents f6d2d12 + 5cfe812 commit dc72020
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 14 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,20 @@ jobs:
- run: npm ci
- run: npm run build-ext --if-present
- run: rsync -a package.json README.md ./dist/
- name: Docker Login
uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0
with:
registry: vprodemo.azurecr.io
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
logout: true
- name: Semantic Release
uses: cycjimmy/semantic-release-action@61680d0e9b02ff86f5648ade99e01be17f0260a4 # v4.0.0
with:
semantic_version: 19.0.5 # It is recommended to specify a version range
# for semantic-release when using
# semantic-release-action lower than @v3
extra_plugins: |
@semantic-release/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
35 changes: 21 additions & 14 deletions releaserc.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
{
"branches": [
"main",
"next"
"branches": [
"main",
"next"
],
"plugins": [
"@semantic-release/commit-analyzer",
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
"plugins": [
"@semantic-release/commit-analyzer",
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/github"
"@semantic-release/release-notes-generator",
"@semantic-release/github",
[
"@semantic-release/exec",
{
"prepareCmd": "docker build -t vprodemo.azurecr.io/rpc-go:v${nextRelease.version} .",
"publishCmd": "docker push vprodemo.azurecr.io/rpc-go:v${nextRelease.version}"
}
]
}
]
}

0 comments on commit dc72020

Please sign in to comment.