Compare commits
1 Commits
dispatch
...
7e9cc4d017
| Author | SHA1 | Date | |
|---|---|---|---|
| 7e9cc4d017 |
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@@ -17,7 +17,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||||
- name: Verify Action
|
- name: Verify Action
|
||||||
run: actionlint -ignore 'unexpected key "description" for "workflow" section' -ignore 'nexpected key "inputs" for "workflow" section.' -ignore 'unexpected key "runs" for "workflow" section.' -ignore '"on" section is missing in workflow' -ignore '"jobs" section is missing in workflow' action.yml
|
run: actionlint -ignore 'unexpected key "description" for "workflow" section' -ignore 'nexpected key "inputs" for "workflow" section.' -ignore 'unexpected key "runs" for "workflow" section.' -ignore '"on" section is missing in workflow' -ignore '"jobs" section is missing in workflow' action.yml
|
||||||
- name: tag latest after success
|
- name: tag latest after success
|
||||||
|
|||||||
@@ -1,33 +1,29 @@
|
|||||||
name: Docker Build
|
name: 'Tag Build and Push Docker image'
|
||||||
|
description: 'Tags verion in current repo, builds docker image and pushes it to registry'
|
||||||
|
inputs:
|
||||||
|
registry: # id of input
|
||||||
|
description: 'docker regisry host name'
|
||||||
|
required: true
|
||||||
|
default: 'gitea.phadric.de'
|
||||||
|
cache-registry: # id of input
|
||||||
|
description: 'docker regisry host name'
|
||||||
|
required: true
|
||||||
|
default: 'imagecache.phadric.de'
|
||||||
|
image_name:
|
||||||
|
description: 'name of the dockerimage'
|
||||||
|
required: true
|
||||||
|
default: ${{ github.repository }}
|
||||||
|
token:
|
||||||
|
description: 'repo auth token'
|
||||||
|
required: true
|
||||||
|
|
||||||
on:
|
runs:
|
||||||
workflow_call:
|
using: "composite"
|
||||||
inputs:
|
steps:
|
||||||
registry: # id of input
|
|
||||||
description: 'docker regisry host name'
|
|
||||||
required: true
|
|
||||||
default: 'gitea.phadric.de'
|
|
||||||
cache-registry: # id of input
|
|
||||||
description: 'docker regisry host name'
|
|
||||||
required: true
|
|
||||||
default: 'imagecache.phadric.de'
|
|
||||||
image_name:
|
|
||||||
description: 'name of the dockerimage'
|
|
||||||
required: true
|
|
||||||
default: ${{ github.repository }}
|
|
||||||
token:
|
|
||||||
description: 'repo auth token'
|
|
||||||
required: true
|
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
runs-on: slim
|
|
||||||
steps:
|
|
||||||
- run: echo "::group::Checkout repository"
|
- run: echo "::group::Checkout repository"
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
||||||
with:
|
with:
|
||||||
fetch-depth: '0'
|
fetch-depth: '0'
|
||||||
- run: echo "::endgroup::"
|
- run: echo "::endgroup::"
|
||||||
Reference in New Issue
Block a user