From 54c30e267ce8b01c121a00b0a0bc961bfb218de6 Mon Sep 17 00:00:00 2001 From: digorgonzola <29941279+digorgonzola@users.noreply.github.com> Date: Tue, 19 Dec 2023 19:51:20 +1100 Subject: [PATCH] github workflows: update environment --- .github/workflows/deploy-development.yml | 4 ++-- .github/workflows/deploy-production.yml | 4 ++-- .github/workflows/deploy-staging.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy-development.yml b/.github/workflows/deploy-development.yml index 1ea630d..e62c41a 100644 --- a/.github/workflows/deploy-development.yml +++ b/.github/workflows/deploy-development.yml @@ -16,7 +16,7 @@ env: jobs: build_test_push: runs-on: ubuntu-latest - environment: ${{ env.environment }} + environment: $environment outputs: image_tag: ${{ steps.set_image_tag.outputs.image_tag }} steps: @@ -91,7 +91,7 @@ jobs: development_deploy: runs-on: ubuntu-latest - environment: ${{ env.environment }} + environment: $environment env: tf_version: '1.5.7' tg_version: '0.54.0' diff --git a/.github/workflows/deploy-production.yml b/.github/workflows/deploy-production.yml index 33af0b7..614d9a0 100644 --- a/.github/workflows/deploy-production.yml +++ b/.github/workflows/deploy-production.yml @@ -16,7 +16,7 @@ env: jobs: build_push: runs-on: ubuntu-latest - environment: ${{ env.environment }} + environment: $environment outputs: image_digest: ${{ steps.build_and_push.outputs.digest || steps.get_digest_from_tagged_image.outputs.image_tag }} steps: @@ -81,7 +81,7 @@ jobs: production_deploy: runs-on: ubuntu-latest - environment: ${{ env.environment }} + environment: $environment env: tf_version: '1.5.7' tg_version: '0.54.0' diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index 9125d93..3097270 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -16,7 +16,7 @@ env: jobs: build_push: runs-on: ubuntu-latest - environment: ${{ env.environment }} + environment: $environment outputs: image_digest: ${{ steps.build_and_push.outputs.digest }} steps: @@ -63,7 +63,7 @@ jobs: staging_deploy: runs-on: ubuntu-latest - environment: ${{ env.environment }} + environment: $environment env: tf_version: '1.5.7' tg_version: '0.54.0'