From 6ae2f5c5b03b006a0919d97eb11e1bfaea327e4a Mon Sep 17 00:00:00 2001 From: mr-boneman Date: Sun, 12 May 2024 20:11:32 +0200 Subject: [PATCH] add actions.yml --- action.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 action.yml diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..1635750 --- /dev/null +++ b/action.yml @@ -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 \ No newline at end of file