Skip to content

Commit 2cf0a6d

Browse files
author
dannysteinbrecher
committed
feat: add @semantic-release/npm plugin to .releaserc.json and clean up docker tag command in backend-build-and-push.yaml
1 parent 67f51cb commit 2cf0a6d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/backend-build-and-push.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ jobs:
101101
102102
# Tag the existing image with the backend-prefixed semantic version
103103
docker pull ${{ env.BACKEND_IMAGE }}:${{ env.SHORT_SHA }}
104-
docker tag ${{ env.BACKEND_IMAGE }}:${{ env.SHORT_SHA }} \
105-
${{ env.BACKEND_IMAGE }}:$BACKEND_VERSION
104+
docker tag ${{ env.BACKEND_IMAGE }}:${{ env.SHORT_SHA }} ${{ env.BACKEND_IMAGE }}:$BACKEND_VERSION
106105
docker push ${{ env.BACKEND_IMAGE }}:$BACKEND_VERSION
107106
echo "Tagged and pushed image with backend version: $BACKEND_VERSION"

backend/.releaserc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"plugins": [
55
"@semantic-release/commit-analyzer",
66
"@semantic-release/release-notes-generator",
7+
"@semantic-release/npm",
78
[
89
"@semantic-release/changelog",
910
{

0 commit comments

Comments
 (0)