add actions.yml
This commit is contained in:
parent
5e959f069b
commit
6ae2f5c5b0
1 changed files with 19 additions and 0 deletions
19
action.yml
Normal file
19
action.yml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# SPDX-License-Identifier: MIT
|
||||
name: 'Skopeo login'
|
||||
description: 'log into a registry using skopeo'
|
||||
inputs:
|
||||
registry:
|
||||
description: 'registry to log into'
|
||||
username:
|
||||
description: 'username used for the login'
|
||||
default: ${{ github.repository_owner }}
|
||||
password:
|
||||
description: 'password used for the login'
|
||||
required: true
|
||||
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- run: |
|
||||
echo ${{ inputs.password }} > skopeo login -u ${{ inputs.username }}
|
||||
shell: bash
|
||||
Loading…
Add table
Add a link
Reference in a new issue