From 91bcef5b6b60d0c5f2eb66a6a2e65f955f73b1f7 Mon Sep 17 00:00:00 2001 From: Nick Pappas Date: Sat, 27 Jul 2024 17:41:05 -0500 Subject: [PATCH] fix: correct release pipeline for server components --- .github/workflows/release-please.yaml | 14 +++++++------- server/hasura/Dockerfile | 1 + 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index 66caec3..eaf0700 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -13,14 +13,14 @@ jobs: release-please: runs-on: ubuntu-latest outputs: - api--tag_name: ${{ steps.release.outputs.api--tag_name}} - api--release_created: ${{ steps.release.outputs.api--release_created}} + api--tag_name: ${{ steps.release.outputs['server/hasura--tag_name']}} + api--release_created: ${{ steps.release.outputs['server/hasura--release_created']}} app--tag_name: ${{ steps.release.outputs.app--tag_name}} app--release_created: ${{ steps.release.outputs.app--release_created}} - faas--tag_name: ${{ steps.release.outputs.faas--tag_name}} - faas--release_created: ${{ steps.release.outputs.faas--release_created}} - web--tag_name: ${{ steps.release.outputs.web--tag_name}} - web--release_created: ${{ steps.release.outputs.web--release_created}} + faas--tag_name: ${{ steps.release.outputs['server/faas--tag_name']}} + faas--release_created: ${{ steps.release.outputs['server/faas--release_created']}} + web--tag_name: ${{ steps.release.outputs.app--tag_name}} + web--release_created: ${{ steps.release.outputs.app--release_created}} steps: - uses: googleapis/release-please-action@v4 id: release @@ -30,7 +30,7 @@ jobs: continue-on-error: true run: | echo "Release outputs:" - echo "${{ toJson(steps.release.outputs) }}" + echo '${{ toJson(steps.release.outputs) }}' release-api: if: ${{needs.release-please.outputs.api--release_created}} diff --git a/server/hasura/Dockerfile b/server/hasura/Dockerfile index b97bf99..d609d48 100644 --- a/server/hasura/Dockerfile +++ b/server/hasura/Dockerfile @@ -1,5 +1,6 @@ FROM hasura/graphql-engine:v2.41.0-ce.cli-migrations-v3 LABEL Use=Server +LABEL Version=2.41.0 COPY metadata /hasura-metadata COPY migrations /hasura-migrations