Skip to content

Commit

Permalink
ci: fix docker release
Browse files Browse the repository at this point in the history
  • Loading branch information
pmb0 committed Sep 9, 2024
1 parent fe67e20 commit 9f26bcb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/shy-files-help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@embetty/server': patch
---

docker deploy
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
outputs:
published: ${{ steps.changesets.outputs.published }}
publishedPackages: ${{ steps.changesets.outputs.publishedPackages }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
Expand Down Expand Up @@ -45,7 +48,7 @@ jobs:
name: Publish Docker Images
runs-on: ubuntu-latest
needs: release
if: needs.release.outputs.published == 'true'
if: needs.release.outputs.published == 'true' && contains(github.ref, '@embetty/server')
strategy:
fail-fast: true
matrix:
Expand Down

0 comments on commit 9f26bcb

Please sign in to comment.