Files
bc-docker-action/action.yml
Alex Lau (AvengerMoJo) 4deaf112fa
All checks were successful
OSC Pull Custom Image Demo / opensuse osc custom container checkout test (push) Successful in 20s
Adding osc local build option in the workflow
Signed-off-by: Alex Lau (AvengerMoJo) <alau@suse.com>
2023-11-20 14:27:07 +08:00

20 lines
449 B
YAML

# action.yml
name: 'OSC Test'
description: 'Checkout the rpm and install run from osc'
inputs:
osc_user: # id of input
description: 'Who is the osc user'
required: true
default: 'alexlau'
outputs:
time: # id of output
description: 'The time we greeted you'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.osc_user}}
- ${{ inputs.osc_path}}
- ${{ inputs.osc_package}}
- ${{ inputs.osc_action}}