diff --git a/action.yml b/action.yml index b53b73e..2b6fea9 100644 --- a/action.yml +++ b/action.yml @@ -17,6 +17,12 @@ inputs: container-registry: description: 'Container registry url' required: true + registry-username: + description: 'The registry username' + required: true + registry-token: + description: 'The registry authentication token' + required: true publish-docker: description: 'Publish Docker image (true/false)' required: false @@ -87,8 +93,8 @@ runs: uses: docker/login-action@v3 with: registry: ${{ inputs.container-registry }} - username: ${{ env.DEPLOYER_USERNAME }} - password: ${{ secrets.DEPLOYER_TOKEN }} + username: ${{ inputs.registry-username }} + password: ${{ inputs.registry-token }} - name: Set up Docker Buildx if: inputs.publish-docker == 'true' && inputs.build-type == 'application' && (inputs.workflow-type == 'protected' || inputs.workflow-type == 'tag')