-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
29 lines (29 loc) · 846 Bytes
/
action.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
name: Mirror docker tags
description: Mirror docker tags
inputs:
from:
description: 'Comma separate docker repositories to mirror the tags from'
required: true
to:
description: 'Docker repositories to mirror the tags into'
required: true
updateAll:
description: 'Update all tags'
required: false
allowed-platforms:
description: 'Allowed Platforms'
required: false
extra-registry:
description: 'Extra registry to mirror the tags into'
required: false
outputs:
matrix:
description: 'Json matrix'
runs:
using: docker
image: Dockerfile
args: [ '-from' ,'${{ inputs.from }}' ,
'-to' , '${{ inputs.to }}',
'-extraRegistry','${{ inputs.extra-registry }}',
'-allowedPlatforms','${{ inputs.allowed-platforms }}',
'-updateAll','${{ inputs.updateAll }}' ]