Skip to content

Commit

Permalink
Merge branch 'master' into hotfix/terms-and-biometric
Browse files Browse the repository at this point in the history
  • Loading branch information
marluanespiritusanto authored Oct 16, 2023
2 parents 54ce363 + 2ee2072 commit 5f40f34
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cd-deploy-to-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
build:
uses: ./.github/workflows/sub-build-push-image.yml
with:
environment: production
dockerfile_path: ./Dockerfile
dockerfile_target: runner
app_name: ${{ vars.APP_NAME }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/cd-deploy-to-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
build:
uses: ./.github/workflows/sub-build-push-image.yml
with:
environment: staging
dockerfile_path: ./Dockerfile
dockerfile_target: runner
app_name: ${{ vars.APP_NAME }}
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/sub-build-push-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ on:
registry:
required: true
type: string
environment:
required: true
type: string
description: The environment to deploy to
outputs:
image_digest:
description: The image digest to be used on a caller workflow
Expand All @@ -30,6 +34,8 @@ jobs:
permissions:
contents: read
id-token: write
environment:
name: ${{ inputs.environment }}
steps:
- uses: actions/[email protected]
with:
Expand Down

0 comments on commit 5f40f34

Please sign in to comment.