-
Notifications
You must be signed in to change notification settings - Fork 14
34 lines (28 loc) · 727 Bytes
/
ci.yml
File metadata and controls
34 lines (28 loc) · 727 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: CI
on:
pull_request:
paths:
- ".dockerignore"
- "Dockerfile"
- "patches/**"
- "rootfs/**"
- "signing/**"
- ".github/workflows/ci.yml"
- ".github/workflows/publish.yml"
- ".github/workflows/scan.yml"
permissions: {}
concurrency:
group: ci-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
docker-build:
name: Build image
runs-on: ubuntu-24.04
timeout-minutes: 90
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Build Docker image
run: docker build --pull --tag local/mastodon:ci .