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