Update action.yml
This commit is contained in:
12
action.yml
12
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 <account>/<repo>
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user