From 9f26bcb3c81201f4d1f1ba5eeca5a924d9622cf3 Mon Sep 17 00:00:00 2001 From: pmb Date: Mon, 9 Sep 2024 12:50:08 +0200 Subject: [PATCH] ci: fix docker release --- .changeset/shy-files-help.md | 5 +++++ .github/workflows/release.yml | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .changeset/shy-files-help.md diff --git a/.changeset/shy-files-help.md b/.changeset/shy-files-help.md new file mode 100644 index 00000000..141ca822 --- /dev/null +++ b/.changeset/shy-files-help.md @@ -0,0 +1,5 @@ +--- +'@embetty/server': patch +--- + +docker deploy diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4cd370a7..56ac3275 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 @@ -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: