Ignore all markdown for auto image builds

This commit is contained in:
Tom Foster 2025-04-24 17:24:28 +01:00 committed by Jacob Taylor
parent 1518ce0878
commit a9d9580aa4

View file

@ -6,12 +6,14 @@ on:
pull_request: pull_request:
push: push:
paths-ignore: paths-ignore:
- '.gitlab-ci.yml' - "*.md"
- '.gitignore' - "**/*.md"
- 'renovate.json' - ".gitlab-ci.yml"
- 'debian/**' - ".gitignore"
- 'docker/**' - "renovate.json"
- 'docs/**' - "debian/**"
- "docker/**"
- "docs/**"
# Allows you to run this workflow manually from the Actions tab # Allows you to run this workflow manually from the Actions tab
workflow_dispatch: workflow_dispatch:
@ -19,7 +21,6 @@ env:
BUILTIN_REGISTRY: forgejo.ellis.link BUILTIN_REGISTRY: forgejo.ellis.link
BUILTIN_REGISTRY_ENABLED: "${{ ((vars.BUILTIN_REGISTRY_USER && secrets.BUILTIN_REGISTRY_PASSWORD) || (github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)) && 'true' || 'false' }}" BUILTIN_REGISTRY_ENABLED: "${{ ((vars.BUILTIN_REGISTRY_USER && secrets.BUILTIN_REGISTRY_PASSWORD) || (github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)) && 'true' || 'false' }}"
jobs: jobs:
define-variables: define-variables:
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -65,21 +66,14 @@ jobs:
attestations: write attestations: write
id-token: write id-token: write
strategy: strategy:
matrix: { matrix:
"include": [
{ {
"platform": "linux/amd64", "include":
"slug": "linux-amd64" [
}, { "platform": "linux/amd64", "slug": "linux-amd64" },
{ { "platform": "linux/arm64", "slug": "linux-arm64" },
"platform": "linux/arm64",
"slug": "linux-arm64"
}
], ],
"platform": [ "platform": ["linux/amd64", "linux/arm64"],
"linux/amd64",
"linux/arm64"
]
} }
steps: steps:
- name: Echo strategy - name: Echo strategy