-
Notifications
You must be signed in to change notification settings - Fork 172
58 lines (50 loc) · 1.34 KB
/
Copy pathbuild.yml
File metadata and controls
58 lines (50 loc) · 1.34 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: build
permissions:
contents: read
on:
pull_request:
branches:
- master
jobs:
package:
uses: ./.github/workflows/package.yml
docker:
needs: package
uses: ./.github/workflows/build-docker.yml
with:
push: false
flood-version: pr-${{ github.event.pull_request.number || 'check' }}
flood-tags: |
jesec/flood:pr-${{ github.event.pull_request.number || 'check' }}
rtorrent-tags: |
jesec/rtorrent-flood:pr-validate
platforms: linux/amd64,linux/arm64
pkg:
needs: package
uses: ./.github/workflows/build-binary.yml
with:
upload-name: pkg-binaries-pr
docker-distroless:
needs: pkg
uses: ./.github/workflows/build-docker-distroless.yml
with:
push: false
binary-artifact: pkg-binaries-pr
flood-version: pr-${{ github.event.pull_request.number || 'check' }}
flood-tags: |
jesec/flood:pr-${{ github.event.pull_request.number || 'check' }}-distroless
rtorrent-tags: |
jesec/rtorrent-flood:pr-${{ github.event.pull_request.number || 'check' }}-distroless
platforms: linux/amd64,linux/arm64
debian:
needs: package
uses: ./.github/workflows/build-debian.yml
build:
runs-on: ubuntu-slim
needs:
- pkg
- docker
- docker-distroless
- debian
steps:
- run: echo 1