Skip to content

Commit

Permalink
🚧 wip: test for the docker release
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Oct 9, 2023
1 parent c87ff0c commit 4cce840
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- main
- beta

jobs:
release:
Expand All @@ -28,3 +29,5 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
DOCKER_REGISTRY_PASSWORD: ${{ secrets.DOCKER_REGISTRY_PASSWORD }}
DOCKER_REGISTRY_USER: ${{ secrets.DOCKER_REGISTRY_USER }}
15 changes: 14 additions & 1 deletion .releaserc.js
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
module.exports = require('@lobehub/lint').semanticRelease;
const release = require('@lobehub/lint').semanticRelease;

module.exports = {
...release,
plugins: [
...release.plugins,
[
'@codedependant/semantic-release-docker',
{
dockerImage: 'lobe-chat',
},
],
],
};
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@
"zustand-utils": "^1"
},
"devDependencies": {
"@codedependant/semantic-release-docker": "^4",
"@commitlint/cli": "^17",
"@lobehub/i18n-cli": "latest",
"@lobehub/lint": "latest",
Expand Down

0 comments on commit 4cce840

Please sign in to comment.