skopeo-login/action.yml
mr-boneman 7d865c572e
Some checks failed
/ test (push) Failing after 13s
provide registry
2024-05-12 20:46:13 +02:00

19 lines
No EOL
508 B
YAML

# 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 ${{ inputs.registry }} -u ${{ inputs.username }}
shell: bash