From 99fc2c8ef4c575742c28bdb4008fe818c8557f47 Mon Sep 17 00:00:00 2001 From: Raphael Philipe Mendes da Silva Date: Thu, 18 Jul 2024 09:14:20 -0700 Subject: [PATCH] Fix issues in release workflow Fix typo when running workflow as dry-run. --- .github/workflows/release.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 98764c2..46630d5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -74,7 +74,7 @@ jobs: --tag ${{ env.PUBLIC_REGISTRY }}/${{ env.PUBLIC_REPO }}/${{ env.RELEASE_IMAGE_NAME }}:latest \ --tag ${{ env.PUBLIC_REGISTRY }}/${{ env.PUBLIC_REPO }}/${{ env.RELEASE_IMAGE_NAME }}:${{ steps.release-info.outputs.release-version }} \ --tag ${{ env.PUBLIC_REGISTRY }}/${{ env.PUBLIC_REPO }}/${{ env.RELEASE_IMAGE_NAME }}:${{ steps.release-info.outputs.commit-short-sha }} \ - ${{ env.STAGING_REGISTRY }}/${{ env.STAGING_IMAGE_NAME }}:${{ steps.release-info.outputs.commit-short-sha }} + ${{ env.STAGING_REGISTRY }}/${{ env.STAGING_IMAGE_NAME }}:${{ steps.release-info.outputs.commit-short-sha }} \ --dry-run - name: Create release - dryrun @@ -83,7 +83,7 @@ jobs: echo gh release create --target "$GITHUB_REF_NAME" \ --title "Release v${{ steps.release-info.outputs.release-version }}" \ --draft \ - "v${{ steps.release-info.outputs.release-version }}" \ + "v${{ steps.release-info.outputs.release-version }}" - name: Push image to public ecr if: ${{ inputs.dryrunMode == 'false' }} @@ -102,4 +102,4 @@ jobs: gh release create --target "$GITHUB_REF_NAME" \ --title "Release v${{ steps.release-info.outputs.release-version }}" \ --draft \ - "v${{ steps.release-info.outputs.release-version }}" \ + "v${{ steps.release-info.outputs.release-version }}"