-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (34 loc) · 1.11 KB
/
manual-build.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
#---
#name: Manual Build & Push
#on:
# workflow_dispatch:
# inputs:
# platforms:
# description: 'The platforms for which the Docker image should be built. If not specified, defaults to linux/amd64.'
# required: false
# default: 'linux/amd64,linux/arm64/v8,linux/riscv64'
#jobs:
# build-push:
# uses: kbase/.github/.github/workflows/reusable_build-push.yml@develop
# with:
# name: '${{ github.event.repository.name }}-develop'
# tags: br-${{ github.ref_name }}
# platforms: ${{ github.event.inputs.platforms }}
# secrets: inherit
---
name: Manual Build & Push
on:
workflow_dispatch:
inputs:
platforms:
description: 'The platforms for which the Docker image should be built. If not specified, defaults to linux/amd64.'
required: false
default: 'linux/amd64,linux/arm64/v8'
jobs:
build-push:
uses: kbase/.github/.github/workflows/reusable_build-push.yml@develop
with:
name: '${{ github.event.repository.name }}-develop'
tags: br-${{ github.ref_name }}
platforms: ${{ github.event.inputs.platforms }}
secrets: inherit