mirror of
https://github.com/redhat-actions/push-to-registry.git
synced 2025-02-22 18:21:20 +01:00

Added Complete URL to the Output of the action. Such that other steps can use the URL for further operations also, Modified README based on the changes. Signed-off-by: divyansh42 <diagrawa@redhat.com>
29 lines
770 B
YAML
29 lines
770 B
YAML
name: 'Push To Registry'
|
|
description: 'This action allows you to push an image to Quay'
|
|
author: 'Red Hat'
|
|
branding:
|
|
icon: circle
|
|
color: red
|
|
inputs:
|
|
image:
|
|
description: 'Name of the image to push'
|
|
required: true
|
|
tag:
|
|
description: 'Tag of the image to push'
|
|
required: false
|
|
default: 'latest'
|
|
registry:
|
|
description: 'Registry where to push the image (eg. quay.io/username)'
|
|
required: true
|
|
username:
|
|
description: 'Username to use as credential to authenticate to the registry'
|
|
required: true
|
|
password:
|
|
description: 'Password to use as credential to authenticate to the registry'
|
|
required: true
|
|
outputs:
|
|
image-url:
|
|
description: 'Complete URL of the pushed image'
|
|
runs:
|
|
using: 'node12'
|
|
main: 'dist/index.js'
|