Skip to content

Commit

Permalink
Correct reusable workflow syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Rikthepixel committed Nov 25, 2023
1 parent 9c6ba14 commit 8b2eeec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/cd-accounts-azure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ on:

jobs:
build-and-push:
uses: ./.github/workflows/build-to-azure.yml@${{ env.GITHUB_REF#refs/heads/ }}
uses: ./.github/workflows/build-to-azure.yml
secrets:
creds: ${{ secrets.AZURE_CREDENTIALS }}
with:
app: accounts
project_name: ${{ env.AZURE_PROJECT_NAME }}
registry: ${{ env.AZURE_CONTAINER_REGISTRY }}
creds: ${{ secrets.AZURE_CREDENTIALS }}
7 changes: 4 additions & 3 deletions .github/workflows/cd-gateway-azure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ on:

jobs:
build-and-push:
uses: ./.github/workflows/build-to-azure.yml@${{ env.GITHUB_REF#refs/heads/ }}
uses: ./.github/workflows/build-to-azure.yml
secrets:
creds: ${{ secrets.AZURE_CREDENTIALS }}
with:
app: gateway
app: accounts
project_name: ${{ env.AZURE_PROJECT_NAME }}
registry: ${{ env.AZURE_CONTAINER_REGISTRY }}
creds: ${{ secrets.AZURE_CREDENTIALS }}

0 comments on commit 8b2eeec

Please sign in to comment.