-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
33 lines (33 loc) · 1.02 KB
/
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
30
31
32
33
name: 'update-container-description-action'
description: 'github action to update the description of a container repo from a README file (Docker Hub, Harbor, Quay)'
inputs:
destination_container_repo:
description: 'the destination container repo (i.e. my-user/my-repo or myserver.com/my-user/my-repo)'
required: true
provider:
description: 'repo provider type (dockerhub, quay, harbor2)'
required: false
default: 'dockerhub'
short_description:
description: 'Dockerhub only: Set or update the repo short description'
default: ''
required: false
readme_file:
description: 'Path to the source README file'
default: 'README.md'
required: false
runs:
using: 'docker'
image: 'docker://docker.io/chko/docker-pushrm:1'
args:
- '--provider'
- '${{ inputs.provider }}'
- '--short'
- '${{ inputs.short_description }}'
- '--file'
- '${{ inputs.readme_file }}'
- '--debug'
- '${{ inputs.destination_container_repo }}'
branding:
icon: 'file-text'
color: 'green'