Skip to content

chore: fastify & redis conf separate #21

chore: fastify & redis conf separate

chore: fastify & redis conf separate #21

name: Build Docker Images
on:
push:
branches:
- main
jobs:
trigger-build:
uses: multi-repo/workflows/.github/workflows/kaniko-build.yaml@main
with:
image-name: ${{ github.repository }}/nestjs-api
secrets:
personal_access_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
trigger-cleanup:
needs: [ trigger-build ]
uses: multi-repo/workflows/.github/workflows/clean-registry.yaml@main
with:
owner: ${{ github.repository_owner }}
repository: nestjs-api
package: nestjs-api/nestjs-api
keep_n_tagged: 2
dry_run: true
secrets:
personal_access_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
deploy:
needs: [ trigger-cleanup ]
runs-on: ubuntu-latest
steps:
- name: Deploy to environment
run: |
echo "Deploying application"