Skip to content

Commit 7f81a2a

Browse files
committed
Added AWS to need version and fixed bug with GCP Build
1 parent e23ef2f commit 7f81a2a

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/gcp_build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,5 +91,5 @@ jobs:
9191
9292
IMAGE_URI="europe-west2-docker.pkg.dev/wolfram-evaluation-functions/${{ inputs.environment == 'staging' && 'evaluation-function-staging' || 'evaluation-function' }}/${{inputs.function-name}}:latest"
9393
docker build -t "$IMAGE_URI" .
94-
docker tag "IMAGE_URI" "${{inputs.image-tag}}"
94+
docker tag "$IMAGE_URI" "${{inputs.image-tag}}"
9595
docker push "$IMAGE_URI"

.github/workflows/production_deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ jobs:
220220
build-aws:
221221
uses: ./.github/workflows/lambda_build.yml
222222
if: inputs.build-platforms == 'aws'
223+
needs: version
223224
strategy:
224225
fail-fast: false
225226
with:
@@ -240,7 +241,7 @@ jobs:
240241
deploy-production-aws:
241242
uses: ./.github/workflows/lambda_deploy.yml
242243
if: inputs.build-platforms == 'aws' && (github.repository != inputs.template-repository-name && github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref_name == github.event.repository.default_branch))
243-
needs: build-aws
244+
needs: [build-aws, version]
244245
with:
245246
environment: eval-production
246247
api-url: https://prod-api.lambdafeedback.com

0 commit comments

Comments
 (0)