mirror of
https://github.com/Paillat-dev/flagger.git
synced 2026-03-03 02:54:54 +00:00
30 lines
563 B
YAML
30 lines
563 B
YAML
name: CI/CD
|
|
|
|
on:
|
|
push:
|
|
branches: [ "master" ]
|
|
pull_request:
|
|
branches: [ "master" ]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
quality:
|
|
uses: ./.github/workflows/quality.yaml
|
|
|
|
docker:
|
|
needs: quality
|
|
permissions:
|
|
contents: read
|
|
packages: write
|
|
id-token: write
|
|
uses: ./.github/workflows/docker.yaml
|
|
|
|
deploy:
|
|
if: github.event_name == 'push' && github.ref == 'refs/heads/dev'
|
|
needs: docker
|
|
uses: ./.github/workflows/deploy.yaml
|
|
secrets: inherit
|