-
Notifications
You must be signed in to change notification settings - Fork 3
32 lines (28 loc) · 1.05 KB
/
tool-release.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
name: Tool Release
env:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
on:
workflow_dispatch:
inputs:
num-commits:
description: "The of commits to check for updated packages. If 0, the action will check all commits on the branch. For any larger value, the action will check the last n commits for any updated packages."
required: true
default: 1
type: number
ignore-missing-dev:
description: "If true, the action will ignore packages that do not have a dev version. Otherwise, the action will fail if any package does not have a dev version."
required: true
default: true
type: boolean
permissions:
contents: write
jobs:
tools-release:
name: Call workflow from image-tools
uses: polusai/image-tools/.github/workflows/package-release.yml@master
with:
num-commits: ${{ github.event.inputs.num-commits }}
ignore-missing-dev: ${{ github.event.inputs.ignore-missing-dev }}
repo_name: "mm-tools"
secrets: inherit