123456789101112131415161718192021222324252627282930313233343536373839 |
- name: CD DEV
- concurrency:
- group: ${{ github.ref }}
- cancel-in-progress: true
- on:
- workflow_run:
- workflows: ["CI"]
- branches:
- - main
- types:
- - completed
- jobs:
- docker-master:
- if: ${{ github.event.workflow_run.conclusion == 'success' }}
- uses: "Recodive/Workflows/.github/workflows/CD Docker.yml@main"
- with:
- file: apps/master/Dockerfile
- context: .
- tags: premid/api-master
- version: ${{ github.sha }}-${{ github.run_number }}
- secrets:
- GH_NPM_TOKEN: ${{ secrets.GH_NPM_TOKEN }}
- permissions:
- contents: read
- packages: write
- docker-worker:
- if: ${{ github.event.workflow_run.conclusion == 'success' }}
- uses: "Recodive/Workflows/.github/workflows/CD Docker.yml@main"
- with:
- file: apps/worker/Dockerfile
- context: .
- tags: premid/api-worker
- version: ${{ github.sha }}-${{ github.run_number }}
- secrets:
- GH_NPM_TOKEN: ${{ secrets.GH_NPM_TOKEN }}
- permissions:
- contents: read
- packages: write
|