From 6b793d0b8e03a169ce0bd080ac778b21a50fa7f5 Mon Sep 17 00:00:00 2001 From: Stefan Hattrell <29941279+digorgonzola@users.noreply.github.com> Date: Thu, 1 Feb 2024 11:57:51 +1100 Subject: [PATCH] github: cannot refer to env. context for environment name --- .github/workflows/build-production.yml | 2 +- .github/workflows/build-staging.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-production.yml b/.github/workflows/build-production.yml index 6772ca3..7ea7183 100644 --- a/.github/workflows/build-production.yml +++ b/.github/workflows/build-production.yml @@ -15,7 +15,7 @@ env: jobs: build_push: runs-on: ubuntu-latest - environment: ${{ env.environment_name }} + environment: production outputs: image_digest: ${{ steps.build_and_push.outputs.digest }} steps: diff --git a/.github/workflows/build-staging.yml b/.github/workflows/build-staging.yml index 96b1911..a45e69d 100644 --- a/.github/workflows/build-staging.yml +++ b/.github/workflows/build-staging.yml @@ -19,7 +19,7 @@ env: jobs: build_push: runs-on: ubuntu-latest - environment: ${{ env.environment_name }} + environment: staging outputs: image_digest: ${{ steps.build_and_push.outputs.digest }} steps: