4 Commits
Author SHA1 Message Date
renovate 94b725bd14 Update Github Actions #none major
Actionlint / build (push) Successful in 25s
2026-07-20 16:06:29 +00:00
renovate b987ab54db Merge pull request 'Update int128/docker-build-cache-config-action action to v1.63.0 #none minor (main)' (#50) from renovate-main-github-actions into main
Actionlint / build (push) Successful in 30s
2026-07-18 21:06:23 +03:00
renovate ae5b4afac9 Update int128/docker-build-cache-config-action action to v1.63.0 #none minor
Actionlint / build (push) Successful in 28s
2026-07-18 17:06:34 +00:00
andreas 00f7aac8ab Lint (#49)
Actionlint / build (push) Successful in 27s
Reviewed-on: #49
2026-07-17 14:23:34 +03:00
3 changed files with 7 additions and 8 deletions
+2 -5
View File
@@ -1,17 +1,14 @@
name: 'Tag Build and Push Docker image' name: 'Tag Build and Push Docker image'
description: 'Tags version in current repo, builds docker image and pushes it to registry'
on: on:
workflow_call: workflow_call:
inputs: inputs:
registry: # id of input registry: # id of input
description: 'docker regisry host name' description: 'docker regisry host name'
required: true
type: string type: string
default: 'gitea.phadric.de' default: 'gitea.phadric.de'
cache-registry: # id of input cache-registry: # id of input
description: 'docker regisry host name' description: 'docker regisry host name'
required: true
default: 'imagecache.phadric.de' default: 'imagecache.phadric.de'
type: string type: string
image_name: image_name:
@@ -37,7 +34,7 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
if: ${{ inputs.checkout == 'true' }} if: ${{ inputs.checkout == 'true' }}
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with: with:
fetch-depth: '0' fetch-depth: '0'
- name: Bump version and push tag - name: Bump version and push tag
@@ -65,7 +62,7 @@ jobs:
# disabled if major zero # disabled if major zero
type=semver,pattern={{major}},value=${{steps.tag.outputs.tag}},enable=${{ !startsWith(steps.tag.outputs.tag, 'v0.') }} type=semver,pattern={{major}},value=${{steps.tag.outputs.tag}},enable=${{ !startsWith(steps.tag.outputs.tag, 'v0.') }}
images: ${{ inputs.registry }}/${{ inputs.image_name }} images: ${{ inputs.registry }}/${{ inputs.image_name }}
- uses: int128/docker-build-cache-config-action@6b41b75cecc2e81696c50ae7c6c0300b51c2bee1 # v1.62.0 - uses: int128/docker-build-cache-config-action@5a7737d035432c268b2b5bfbbcb32e02804c3729 # v1.63.0
id: cache id: cache
with: with:
image: ${{ inputs.cache-registry }}/${{ inputs.image_name }}-cache image: ${{ inputs.cache-registry }}/${{ inputs.image_name }}-cache
+3 -1
View File
@@ -17,9 +17,11 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- 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: Verify Workflow
run: actionlint -ignore 'label "slim" is unknown' .github/workflows/docker-build.yml
- name: tag latest after success - name: tag latest after success
if: github.ref == 'refs/heads/main' if: github.ref == 'refs/heads/main'
id: tag id: tag
+2 -2
View File
@@ -29,7 +29,7 @@ runs:
steps: steps:
- name: Checkout repository - name: Checkout repository
if: ${{ inputs.checkout == 'true' }} if: ${{ inputs.checkout == 'true' }}
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with: with:
fetch-depth: '0' fetch-depth: '0'
- name: Bump version and push tag - name: Bump version and push tag
@@ -57,7 +57,7 @@ runs:
# disabled if major zero # disabled if major zero
type=semver,pattern={{major}},value=${{steps.tag.outputs.tag}},enable=${{ !startsWith(steps.tag.outputs.tag, 'v0.') }} type=semver,pattern={{major}},value=${{steps.tag.outputs.tag}},enable=${{ !startsWith(steps.tag.outputs.tag, 'v0.') }}
images: ${{ inputs.registry }}/${{ inputs.image_name }} images: ${{ inputs.registry }}/${{ inputs.image_name }}
- uses: int128/docker-build-cache-config-action@6b41b75cecc2e81696c50ae7c6c0300b51c2bee1 # v1.62.0 - uses: int128/docker-build-cache-config-action@5a7737d035432c268b2b5bfbbcb32e02804c3729 # v1.63.0
id: cache id: cache
with: with:
image: ${{ inputs.cache-registry }}/${{ inputs.image_name }}-cache image: ${{ inputs.cache-registry }}/${{ inputs.image_name }}-cache