Skip to content

Commit 2153eed

Browse files
committed
added gcloud config to action
1 parent f6ede96 commit 2153eed

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/deploy-gateway.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,16 @@ jobs:
1010
steps:
1111
- name: Checkout code
1212
uses: actions/checkout@v2
13+
1314
- name: Log in to GHCR
1415
run: echo "${{ secrets.REPO_ADMIN_GHCR_TOKEN }}" | docker login ghcr.io -u "${{ secrets.REPO_ADMIN_GH_USERNAME }}" --password-stdin
16+
17+
- name: Create gcloud config
18+
run: |
19+
echo "$BIOSIMULATIONS_GCLOUD_CONFIG" > ./assets/docker/config/.biosimulations.json
20+
env:
21+
BIOSIMULATIONS_GCLOUD_CONFIG: ${{ secrets.BIO_JSON_CONTENT }}
22+
1523
- name: Build gateway service
1624
run: |
1725
GATEWAY_VERSION=$(python -B .github/parse_container_version.py gateway)

0 commit comments

Comments
 (0)