diff --git a/action.yml b/action.yml index 9f3168c..f185ac3 100644 --- a/action.yml +++ b/action.yml @@ -4,6 +4,18 @@ inputs: name: description: "Directory name" required: true + REGISTRY_USERNAME: + description: "Registry username" + required: true + REGISTRY_TOKEN: + description: "Registry token" + required: true + DOCKER_USERNAME: + description: "Docker username" + required: true + DOCKER_PASSWORD: + description: "Docker password" + required: true runs: using: "composite" @@ -18,14 +30,14 @@ runs: uses: https://git.kjan.de/actions/login-action@v3 with: registry: git.kjan.de - username: ${{ secrets.REGISTRY_USERNAME }} - password: ${{ secrets.REGISTRY_TOKEN }} + username: ${{ inputs.REGISTRY_USERNAME }} + password: ${{ inputs.REGISTRY_TOKEN }} - name: Login to Docker.io Registry uses: https://git.kjan.de/actions/login-action@v3 with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} + username: ${{ inputs.DOCKER_USERNAME }} + password: ${{ inputs.DOCKER_PASSWORD }} - name: Cache Docker layers uses: actions/cache@v4