diff --git a/action.yml b/action.yml index d4d7fb9..703e6ba 100644 --- a/action.yml +++ b/action.yml @@ -10,15 +10,9 @@ inputs: required: true default: ${{ github.repository }} token: - description: 'auth token' + description: 'repo auth token' required: true - -env: - # Use docker.io for Docker Hub if empty - REGISTRY: gitea.phadric.de - # github.repository as / - IMAGE_NAME: ${{ github.repository }} runs: using: "composite" steps: @@ -31,7 +25,7 @@ runs: id: tag uses: phadric/github-tag-action@a5250a59655e9f4b0350407380a92c73948f2aec # master env: - GITHUB_TOKEN: ${{ inputs.token }} # if you don't want to set write permissions use a PAT token + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # if you don't want to set write permissions use a PAT token DEFAULT_BUMP: patch GIT_API_TAGGING: false # dont use API WITH_V: true @@ -67,7 +61,7 @@ runs: with: registry: ${{ inputs.registry }} username: ${{ github.actor }} - password: ${{ secrets.TOKEN }} + password: ${{ inputs.token }} - name: Build and push Docker image id: build-and-push