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 1e0e3f9 commit 8302272
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ jobs:
- name: Publish to container registry
run: |
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u $GITHUB_ACTOR --password-stdin
docker build . --tag ghcr.io/fhswf/bookme-backend:$RELEASE_VERSION --tag ghcr.io/fhswf/bookme-backend:latest --target backend
docker push -a ghcr.io/fhswf/bookme-backend:$RELEASE_VERSION
docker build . --tag ghcr.io/fhswf/bookme-backend:latest --target backend
docker push -a ghcr.io/fhswf/bookme-backend
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"dependencies": {
"bcryptjs": "^2.4.3",
"body-parser": "^1.20.1",
"common": "1.0.0",
"common": "workspace:*",
"concurrently": "^8.2.1",
"cookie-parser": "^1.4.5",
"cors": "^2.8.5",
Expand Down

0 comments on commit 8302272

Please sign in to comment.