Skip to content

Commit

Permalink
Merge pull request #40 from Fgruntjes/initial-build
Browse files Browse the repository at this point in the history
deploy test
  • Loading branch information
Fgruntjes authored Oct 12, 2022
2 parents b46ad13 + ad1c71f commit 2e51093
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ jobs:
- uses: mshick/fast-envsubst@v1
env:
SERVICE: ${{ matrix.project.service }}-${{ env.environment_lowercase }}
DEPLOY_ENV: ${{ steps.environment.outputs.result }}
DEPLOY_ENV: ${{ env.environment_lowercase }}
DOTNET_ENVIRONMENT: ${{ steps.environment.outputs.result }}
IMAGE: gcr.io/${{ secrets.GOOGLE_PROJECT_ID }}/${{ matrix.project.service }}:${{env.slug}}
Database__ConnectionString: ${{ secrets.DATABASE__CONNECTIONSTRING }}
Database__DatabaseName: ${{steps.environment.outputs.result}}
Expand Down
4 changes: 2 additions & 2 deletions App.Function.Banktransaction.Import/service.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name: ${SERVICE}
name: ${SERVICE}-${DEPLOY_ENV}
labels:
environment: ${DEPLOY_ENV}
spec:
Expand All @@ -12,7 +12,7 @@ spec:
- image: ${IMAGE}
env:
- name: DOTNET_ENVIRONMENT
value: ${DEPLOY_ENV}
value: ${DOTNET_ENVIRONMENT}
- name: Database__ConnectionString
value: ${Database__ConnectionString}
- name: Database__DatabaseName
Expand Down

0 comments on commit 2e51093

Please sign in to comment.