Skip to content

Commit

Permalink
Merge branch 'dev' into blokh/feat/generate-ln-16-flow
Browse files Browse the repository at this point in the history
  • Loading branch information
Blokh authored Nov 30, 2023
2 parents 0c03d23 + f06f9b0 commit 20b3f68
Show file tree
Hide file tree
Showing 8 changed files with 86 additions and 44 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/publish-backoffice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ env:

jobs:
build-and-push-image:
strategy:
matrix:
platform: ["linux/arm64", "linux/amd64"]
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down Expand Up @@ -75,7 +72,7 @@ jobs:
uses: docker/build-push-action@v4
with:
context: apps/backoffice-v2
platforms: ${{ matrix.platform }}
platforms: linux/amd64
cache-from: '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.head_ref || github.ref_name }}'
push: true
tags: ${{ steps.branchmeta.outputs.tags }}
Expand All @@ -98,7 +95,7 @@ jobs:
uses: docker/build-push-action@v4
with:
context: apps/backoffice-v2
platforms: ${{ matrix.platform }}
platforms: linux/amd64
cache-from: '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.head_ref || github.ref_name }}'
push: true
tags: ${{ steps.prodmeta.outputs.tags }}
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/publish-headless-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ env:

jobs:
build-and-push-image:
strategy:
matrix:
platform: ["linux/arm64", "linux/amd64"]
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down Expand Up @@ -75,7 +72,7 @@ jobs:
uses: docker/build-push-action@v4
with:
context: examples/headless-example
platforms: ${{ matrix.platform }}
platforms: linux/amd64
push: true
cache-from: '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.head_ref || github.ref_name }}'
tags: ${{ steps.branchmeta.outputs.tags }}
Expand All @@ -98,7 +95,7 @@ jobs:
uses: docker/build-push-action@v4
with:
context: examples/headless-example
platforms: ${{ matrix.platform }}
platforms: linux/amd64
push: true
cache-from: '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.head_ref || github.ref_name }}'
tags: ${{ steps.prodmeta.outputs.tags }}
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/publish-kyb-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ env:

jobs:
build-and-push-image:
strategy:
matrix:
platform: ["linux/arm64", "linux/amd64"]
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down Expand Up @@ -82,7 +79,7 @@ jobs:
uses: docker/build-push-action@v4
with:
context: apps/kyb-app
platforms: ${{ matrix.platform }}
platforms: linux/amd64
push: true
cache-from: '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.head_ref || github.ref_name }}'
tags: ${{ steps.branchmeta.outputs.tags }}
Expand All @@ -105,7 +102,7 @@ jobs:
uses: docker/build-push-action@v4
with:
context: apps/kyb-app
platforms: ${{ matrix.platform }}
platforms: linux/amd64
push: true
cache-from: '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.head_ref || github.ref_name }}'
tags: ${{ steps.prodmeta.outputs.tags }}
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/publish-websocket.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ env:

jobs:
build-and-push-image:
strategy:
matrix:
platform: ["linux/arm64", "linux/amd64"]
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down Expand Up @@ -82,7 +79,7 @@ jobs:
uses: docker/build-push-action@v4
with:
context: services/websocket-service
platforms: ${{ matrix.platform }}
platforms: linux/amd64
push: true
cache-from: '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.head_ref || github.ref_name }}'
tags: ${{ steps.branchmeta.outputs.tags }}
Expand All @@ -105,7 +102,7 @@ jobs:
uses: docker/build-push-action@v4
with:
context: services/websocket-service
platforms: ${{ matrix.platform }}
platforms: linux/amd64
push: true
cache-from: '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.head_ref || github.ref_name }}'
tags: ${{ steps.prodmeta.outputs.tags }}
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/publish-workflows-dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ env:

jobs:
build-and-push-image:
strategy:
matrix:
platform: ["linux/arm64", "linux/amd64"]
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down Expand Up @@ -75,7 +72,7 @@ jobs:
uses: docker/build-push-action@v4
with:
context: apps/workflows-dashboard
platforms: ${{ matrix.platform }}
platforms: linux/amd64
push: true
cache-from: '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.head_ref || github.ref_name }}'
tags: ${{ steps.branchmeta.outputs.tags }}
Expand All @@ -98,7 +95,7 @@ jobs:
uses: docker/build-push-action@v4
with:
context: apps/workflows-dashboard
platforms: ${{ matrix.platform }}
platforms: linux/amd64
push: true
cache-from: '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.head_ref || github.ref_name }}'
tags: ${{ steps.prodmeta.outputs.tags }}
Expand Down
7 changes: 2 additions & 5 deletions .github/workflows/publish-workflows-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ env:

jobs:
build-and-push-image:
strategy:
matrix:
platform: ["linux/arm64", "linux/amd64"]
runs-on: ubuntu-latest
permissions:
contents: read
Expand Down Expand Up @@ -89,7 +86,7 @@ jobs:
uses: docker/build-push-action@v4
with:
context: services/workflows-service
platforms: ${{ matrix.platform }}
platforms: linux/amd64
push: true
cache-from: '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.BRANCH_NAME }}'
tags: ${{ steps.prodmeta.outputs.tags }}
Expand All @@ -99,7 +96,7 @@ jobs:
uses: docker/build-push-action@v4
with:
context: services/workflows-service
platforms: ${{ matrix.platform }}
platforms: linux/amd64
push: true
cache-from: '${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.BRANCH_NAME }}'
tags: ${{ steps.branchmeta.outputs.tags }}
Expand Down
2 changes: 1 addition & 1 deletion apps/backoffice-v2/src/domains/auth/validation-schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ export const AuthenticatedUserSchema = z
fullName: `${firstName} ${lastName}`,
}))
.or(z.null())
.default
.default(null);
86 changes: 73 additions & 13 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 20b3f68

Please sign in to comment.