22 lines
434 B
YAML
22 lines
434 B
YAML
|
name: 'Reusable test job'
|
||
|
description: 'Test for images'
|
||
|
|
||
|
outputs:
|
||
|
result:
|
||
|
description: "Result of test (success|failure)"
|
||
|
value: ${{ jobs.example_job.outputs.output1 }}
|
||
|
inputs:
|
||
|
image: string
|
||
|
branch: string
|
||
|
url: string
|
||
|
repo: string
|
||
|
|
||
|
runs:
|
||
|
using: 'composite'
|
||
|
steps:
|
||
|
- name: Install requires
|
||
|
run: |
|
||
|
echo "apt-get install -y skopeo jq"
|
||
|
apt-get install -y skopeo jq
|
||
|
- name: Scopeo copy
|