Skip to content

Commit

Permalink
Update commit-main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
josxha committed Oct 18, 2023
1 parent 0dacdc5 commit 5a72e53
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/commit-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,36 +8,36 @@ on:
- KratosSelfService/**

jobs:
check-changes:
runs-on: ubuntu-latest
outputs:
ory-admin: ${{ steps.filter.outputs.ory_admin }}
kratos-self-service: ${{ steps.filter.outputs.kratos-self-service }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: dorny/paths-filter@v2
name: git diff
id: filter
with:
filters: |
ory-admin:
- 'OryAdmin/**'
kratos-self-service:
- 'KratosSelfService/**'
#check-changes:
# runs-on: ubuntu-latest
# outputs:
# ory-admin: ${{ steps.filter.outputs.ory_admin }}
# kratos-self-service: ${{ steps.filter.outputs.kratos-self-service }}
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
# - uses: dorny/paths-filter@v2
# name: git diff
# id: filter
# with:
# filters: |
# ory-admin:
# - 'OryAdmin/**'
# kratos-self-service:
# - 'KratosSelfService/**'
docker-ory-admin:
name: OryAdmin
uses: josxha/Oryon/.github/workflows/docker-build-ory-admin.yml@main
needs: check-changes
if: ${{ contains(needs.check-changes.outputs, 'ory-admin') == 'true' }}
#needs: check-changes
#if: ${{ contains(needs.check-changes.outputs, 'ory-admin') == 'true' }}
secrets: inherit
with:
IMAGE_TAG: latest
docker-kratos_self-service:
name: KratosSelfService
uses: josxha/Oryon/.github/workflows/docker-build-kratos-self-service.yml@main
needs: check-changes
if: ${{ contains(needs.check-changes.outputs, 'kratos-self-service') == 'true' }}
#needs: check-changes
#if: ${{ contains(needs.check-changes.outputs, 'kratos-self-service') == 'true' }}
secrets: inherit
with:
IMAGE_TAG: latest

0 comments on commit 5a72e53

Please sign in to comment.