Skip to content

refactor: rework project structure #8

refactor: rework project structure

refactor: rework project structure #8

Workflow file for this run

---
name: Continous Integration
on: # yamllint disable-line rule:truthy
push:
branches:
- main
paths-ignore:
- 'README.md'
pull_request:
paths-ignore:
- 'README.md'
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
secret:
name: Call GG Shield
uses: irishlab-io/pipelines/.github/workflows/reusable-ggshield.yml@main
secrets: inherit
pre-commit:
name: Call Pre-Commit
uses: irishlab-io/pipelines/.github/workflows/reusable-pre-commit.yml@main

Check failure on line 26 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

error parsing called workflow ".github/workflows/ci.yml" -> "irishlab-io/pipelines/.github/workflows/reusable-pre-commit.yml@main" : failed to fetch workflow: workflow was not found.
call-docker-build:
name: Call Docker Build
needs:
- pre-commit
- secret
uses: irishlab-io/pipelines/.github/workflows/reusable-docker-build.yml@main
permissions:
contents: read
packages: write # needed to push docker image to ghcr.io
pull-requests: write # needed to create and update comments in PRs
with:
ghcr-enable: true
image-names: |
ghcr.io/${{ github.repository }}
tag-rules: |
type=raw,value=stable-{{date 'YYYYMMDD'}}-{{sha}},enable={{is_default_branch}},priority=300
type=ref,event=tag,priority=200
type=raw,value=latest,enable={{is_default_branch}},priority=100
type=raw,value=gha-${{ github.run_id }},enable=${{github.event_name == 'pull_request'}},priority=200
type=ref,event=pr,priority=100
platforms: linux/amd64,linux/arm64
comment-enable: true