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'