Skip to content

Commit

Permalink
Pass new env vars to docker
Browse files Browse the repository at this point in the history
  • Loading branch information
martimpassos committed Apr 8, 2024
1 parent 15eb3f6 commit 6c5a28c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ jobs:
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
ARCGIS_USER: ${{ secrets.ARCGIS_USER }}
ARCGIS_PASSWORD: ${{ secrets.ARCGIS_PASSWORD }}
VIEWCONES_LAYER_URL: ${{ secrets.VIEWCONES_LAYER_URL }}

run: |
ARGS=""
Expand All @@ -44,7 +47,13 @@ jobs:
if [ "${{ github.event.inputs.retile }}" == "true" ]; then
ARGS="$ARGS --retile"
fi
docker run -e AWS_SECRET_ACCESS_KEY -e AWS_ACCESS_KEY_ID etl $ARGS
docker run \
-e AWS_SECRET_ACCESS_KEY
-e AWS_ACCESS_KEY_ID
-e ARCGIS_USER
-e ARCGIS_PASSWORD
-e VIEWCONES_LAYER_URL
etl $ARGS
- name: Commit submodule changes and update pointer
run: |
Expand Down

0 comments on commit 6c5a28c

Please sign in to comment.