From 917672be40b37fec1bc6a3312574c3a5ad3105d8 Mon Sep 17 00:00:00 2001 From: Paul Hebble Date: Tue, 21 May 2024 00:17:26 -0500 Subject: [PATCH] Pass AWS env vars to docker run --- .github/workflows/deploy.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1fedeca73..05a12a79c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -186,13 +186,12 @@ jobs: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_DEFAULT_REGION: us-west-2 - AWS_REGION: us-west-2 shell: bash run: | docker image pull kspckan/netkan for CONTAINER in InflatorKsp InflatorKsp2 do - docker run kspckan/netkan redeploy-service --cluster NetKANCluster --service-name $CONTAINER + docker run -e AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -e AWS_DEFAULT_REGION kspckan/netkan redeploy-service --cluster NetKANCluster --service-name $CONTAINER done upload-metadata-tester: