Skip to content

Commit

Permalink
feat: docker build in release
Browse files Browse the repository at this point in the history
  • Loading branch information
cgawron committed Sep 10, 2023
1 parent 000ce1c commit af3b7c4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 15 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"

# Install package dependencies
- name: Install
Expand All @@ -51,7 +50,7 @@ jobs:
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: 18.x

Expand Down
13 changes: 12 additions & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,18 @@
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/git",
"@semantic-release/github"
"@semantic-release/github",
[
"@codedependant/semantic-release-docker",
{
"dockerImage": "bookme-backend",
"dockerRegistry": "ghcr.io",
"dockerFile": "../Dockerfile",
"dockerBuildFlags": {
"target": "backend"
}
}
]
]
},
"gitHead": "a4b1d2cc78703828c99149277115e8434b675afc"
Expand Down
13 changes: 1 addition & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,18 +62,7 @@
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/git",
"@semantic-release/github",
[
"@codedependant/semantic-release-docker",
{
"dockerImage": "bookme-backend",
"dockerRegistry": "ghcr.io",
"dockerFile": "../Dockerfile",
"dockerBuildFlags": {
"target": "backend"
}
}
]
"@semantic-release/github"
],
"noCi": true
},
Expand Down

0 comments on commit af3b7c4

Please sign in to comment.