Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ef4d89d896 | ||
|
|
863ec9d533 | ||
|
|
ec75d04e07 | ||
|
|
febb03c381 |
@@ -7,29 +7,33 @@ on:
|
||||
registry: # id of input
|
||||
description: 'docker regisry host name'
|
||||
required: true
|
||||
type: string
|
||||
default: 'gitea.phadric.de'
|
||||
cache-registry: # id of input
|
||||
description: 'docker regisry host name'
|
||||
required: true
|
||||
default: 'imagecache.phadric.de'
|
||||
type: string
|
||||
image_name:
|
||||
description: 'name of the dockerimage'
|
||||
required: true
|
||||
default: ${{ github.repository }}
|
||||
type: string
|
||||
checkout:
|
||||
description: 'checkout repo first'
|
||||
default: 'true'
|
||||
type: string
|
||||
tag:
|
||||
description: 'checkout repo first'
|
||||
default: 'true'
|
||||
secrets:
|
||||
TOKEN:
|
||||
description: 'repo auth token'
|
||||
required: true
|
||||
type: string
|
||||
# secrets:
|
||||
# TOKEN:
|
||||
# description: 'repo auth token'
|
||||
# required: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: slim
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
if: ${{ inputs.checkout == 'true' }}
|
||||
@@ -39,7 +43,7 @@ jobs:
|
||||
- name: Bump version and push tag
|
||||
id: tag
|
||||
if: ${{ inputs.tag == 'true' }}
|
||||
uses: phadric/github-tag-action@a5250a59655e9f4b0350407380a92c73948f2aec # master
|
||||
uses: anothrNick/github-tag-action@4ed44965e0db8dab2b466a16da04aec3cc312fd8 # 1.75.0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # if you don't want to set write permissions use a PAT token
|
||||
DEFAULT_BUMP: patch
|
||||
|
||||
Reference in New Issue
Block a user