mirror of
https://github.com/ditkrg/build-image-workflow.git
synced 2026-01-22 23:27:06 +00:00
adds timeout input
This commit is contained in:
parent
267fb7049a
commit
a8354e235b
6
.github/workflows/workflow.yaml
vendored
6
.github/workflows/workflow.yaml
vendored
@ -25,6 +25,10 @@ on:
|
|||||||
type: string
|
type: string
|
||||||
default: reg.dev.krd
|
default: reg.dev.krd
|
||||||
required: false
|
required: false
|
||||||
|
timeout:
|
||||||
|
type: number
|
||||||
|
default: 10
|
||||||
|
required: false
|
||||||
|
|
||||||
runs-on:
|
runs-on:
|
||||||
type: string
|
type: string
|
||||||
@ -43,7 +47,7 @@ jobs:
|
|||||||
build-push:
|
build-push:
|
||||||
name: Build and Push
|
name: Build and Push
|
||||||
runs-on: ${{ fromJson(inputs.runs-on) }}
|
runs-on: ${{ fromJson(inputs.runs-on) }}
|
||||||
timeout-minutes: 10
|
timeout-minutes: ${{ inputs.timeout }}
|
||||||
outputs:
|
outputs:
|
||||||
tag: ${{ fromJson(steps.meta.outputs.json).tags[0] }}
|
tag: ${{ fromJson(steps.meta.outputs.json).tags[0] }}
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user