From 6418e842574d75260c635c25327a073bfb8393e8 Mon Sep 17 00:00:00 2001 From: tomoron Date: Fri, 30 Jan 2026 14:06:56 +0100 Subject: [PATCH] get secrets from input --- action.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 5a91853..55bdf37 100644 --- a/action.yml +++ b/action.yml @@ -10,6 +10,12 @@ inputs: desciption: 'name of the package' required: false default: '${{ gitea.repository }}' + username: + description: 'username used to push the package' + required: true + password: + description: 'password used to push the package' + required: true runs: using: "composite" @@ -21,8 +27,8 @@ runs: uses: docker/login-action@v2 with: registry: git.tmoron.fr - username: ${{ secrets.PUSH_USERNAME }} - password: ${{ secrets.PUSH_PASSWORD }} + username: ${{ inputs.username }} + password: ${{ inputs.password }} - name: Build and push uses: docker/build-push-action@v4