forked from victor-rds/docker-etebase
-
Notifications
You must be signed in to change notification settings - Fork 0
77 lines (72 loc) · 2.18 KB
/
manual-build-all.yml
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
---
name: Manual Build - All
on:
workflow_dispatch:
inputs:
version:
description: "EteBase Version"
required: false
default: ""
type: string
platforms:
description: "Platforms to build"
required: false
default: "linux/amd64,linux/arm64,linux/arm/v7"
type: choice
options:
- "linux/amd64,linux/arm64,linux/arm/v7"
- "linux/amd64,linux/arm64"
- "linux/arm64,linux/arm/v7"
- "linux/amd64"
- "linux/arm64"
- "linux/arm/v7"
pushit:
description: "Should push?"
required: false
default: false
type: boolean
tag:
description: "Custom Tag"
required: false
default: ""
type: string
jobs:
base-manual:
uses: ./.github/workflows/call_build_push.yml
with:
flavor: "base"
version: ${{ github.event.inputs.version }}
platforms: ${{ github.event.inputs.platforms }}
pushit: ${{ github.event.inputs.pushit == 'true' }}
tag: ${{ github.event.inputs.tag }}
secrets:
dckr_username: ${{ secrets.DOCKER_USER }}
dckr_token: ${{ secrets.DOCKER_TOKEN }}
slim-manual:
uses: ./.github/workflows/call_build_push.yml
with:
flavor: "slim"
version: ${{ github.event.inputs.version }}
platforms: ${{ github.event.inputs.platforms }}
pushit: ${{ github.event.inputs.pushit == 'true' }}
tag: ${{ github.event.inputs.tag }}
secrets:
dckr_username: ${{ secrets.DOCKER_USER }}
dckr_token: ${{ secrets.DOCKER_TOKEN }}
alpine-manual:
uses: ./.github/workflows/call_build_push.yml
with:
flavor: "alpine"
version: ${{ github.event.inputs.version }}
platforms: ${{ github.event.inputs.platforms }}
pushit: ${{ github.event.inputs.pushit == 'true' }}
tag: ${{ github.event.inputs.tag }}
secrets:
dckr_username: ${{ secrets.DOCKER_USER }}
dckr_token: ${{ secrets.DOCKER_TOKEN }}
create-releases:
if: inputs.pushit
needs: [base-manual, slim-manual, alpine-manual]
uses: ./.github/workflows/call_release.yml
with:
version: ${{ github.event.inputs.version }}