add actions.yml

This commit is contained in:
mr-boneman 2024-05-12 20:11:32 +02:00
parent 5e959f069b
commit 6ae2f5c5b0

19
action.yml Normal file
View 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