65 Commits
Author SHA1 Message Date
andreas 3fb3056ecd Update .github/workflows/lint.yml
Actionlint / build (push) Successful in 26s
2026-07-17 14:20:21 +03:00
andreas eaaf42fb64 Update .github/workflows/docker-build.yml
Actionlint / build (push) Failing after 23s
2026-07-17 14:10:07 +03:00
andreas 013107eece Update .github/workflows/docker-build.yml
Actionlint / build (push) Failing after 24s
2026-07-17 14:08:47 +03:00
andreas 9b1839b144 Update .github/workflows/lint.yml
Actionlint / build (push) Failing after 23s
2026-07-17 14:07:48 +03:00
andreas cab1e1921f Update .github/workflows/lint.yml 2026-07-17 14:06:06 +03:00
andreas ef4d89d896 Update .github/workflows/docker-build.yml
Actionlint / build (push) Successful in 23s
2026-07-17 13:36:49 +03:00
andreas 863ec9d533 Update .github/workflows/docker-build.yml
Actionlint / build (push) Successful in 23s
2026-07-17 11:24:18 +03:00
andreas ec75d04e07 Update .github/workflows/docker-build.yml
Actionlint / build (push) Successful in 23s
2026-07-17 11:20:34 +03:00
andreas febb03c381 Update .github/workflows/docker-build.yml
Actionlint / build (push) Successful in 23s
2026-07-17 11:15:20 +03:00
andreas 0296e38b9d Update .github/workflows/docker-build.yml
Actionlint / build (push) Successful in 23s
2026-07-17 10:57:34 +03:00
andreas 0f083c7f72 Update .github/workflows/docker-build.yml
Actionlint / build (push) Successful in 24s
2026-07-17 10:53:39 +03:00
andreas adee4f2c02 Update .github/workflows/docker-build.yml
Actionlint / build (push) Successful in 24s
2026-07-17 10:49:51 +03:00
andreas 1325ec7992 Add .github/workflows/docker-build.yml
Actionlint / build (push) Successful in 23s
2026-07-17 10:48:46 +03:00
renovate 2dd16d63ab Merge pull request 'Update int128/docker-build-cache-config-action action to v1.62.0 #none minor (main)' (#47) from renovate-main-github-actions into main
Actionlint / build (push) Successful in 23s
2026-07-10 21:07:02 +03:00
renovate cd3e9dc119 Update int128/docker-build-cache-config-action action to v1.62.0 #none minor
Actionlint / build (push) Successful in 22s
2026-07-10 17:06:52 +00:00
renovate 8a52e9826d Merge pull request 'Update int128/docker-build-cache-config-action action to v1.61.0 #none minor (main)' (#46) from renovate-main-github-actions into main
Actionlint / build (push) Successful in 23s
2026-07-04 01:06:28 +03:00
renovate 6dbf4c08ad Update int128/docker-build-cache-config-action action to v1.61.0 #none minor
Actionlint / build (push) Successful in 21s
2026-07-03 21:06:25 +00:00
renovate 8a9f66b1b0 Merge pull request 'Update Github Actions #none minor (main)' (#45) from renovate-main-github-actions into main
Actionlint / build (push) Successful in 26s
2026-06-19 23:06:48 +03:00
renovate 548fc5dbeb Update Github Actions #none minor
Actionlint / build (push) Successful in 20s
2026-06-19 19:06:51 +00:00
renovate e04b04d741 Merge pull request 'Update Github Actions #none minor (main)' (#44) from renovate-main-github-actions into main
Actionlint / build (push) Successful in 29s
2026-06-19 20:06:57 +03:00
renovate c992af464f Update Github Actions #none minor
Actionlint / build (push) Successful in 51s
2026-06-19 16:06:36 +00:00
renovate ed90b07018 Merge pull request 'Update Github Actions to v1.58.0 #none minor (main)' (#43) from renovate-main-github-actions into main
Actionlint / build (push) Successful in 27s
2026-06-06 01:06:45 +03:00
renovate 430d58060a Update Github Actions to v1.58.0 #none minor
Actionlint / build (push) Successful in 27s
2026-06-05 21:06:48 +00:00
renovate a86f0ff9a7 Merge pull request 'Update int128/docker-build-cache-config-action action to v1.57.0 #none minor (main)' (#42) from renovate-main-github-actions into main
Actionlint / build (push) Successful in 22s
2026-05-16 05:06:48 +03:00
renovate c3cb8c5b59 Update int128/docker-build-cache-config-action action to v1.57.0 #none minor
Actionlint / build (push) Successful in 25s
2026-05-16 01:06:43 +00:00
andreas a05998cbde Update .github/workflows/lint.yml
Actionlint / build (push) Successful in 22s
2026-05-13 09:56:44 +03:00
renovate 59628fa470 Merge pull request 'Update int128/docker-build-cache-config-action action to v1.56.0 #none minor (main)' (#41) from renovate-main-github-actions into main
Actionlint / build (push) Failing after 22s
2026-05-09 01:06:44 +03:00
renovate 40cfc9c179 Update int128/docker-build-cache-config-action action to v1.56.0 #none minor
Actionlint / build (push) Successful in 21s
2026-05-08 21:06:41 +00:00
renovate 404fe267eb Merge pull request 'Update int128/docker-build-cache-config-action action to v1.55.0 #none minor (main)' (#40) from renovate-main-github-actions into main
Actionlint / build (push) Successful in 23s
2026-05-06 09:06:37 +03:00
renovate ec90ba108f Update int128/docker-build-cache-config-action action to v1.55.0 #none minor
Actionlint / build (push) Successful in 49s
2026-05-06 05:06:35 +00:00
renovate d03cc1c7cd Merge pull request 'Update int128/docker-build-cache-config-action action to v1.54.0 #none minor (main)' (#39) from renovate-main-github-actions into main
Actionlint / build (push) Successful in 57s
2026-05-02 02:07:25 +03:00
renovate d21e168ffa Update int128/docker-build-cache-config-action action to v1.54.0 #none minor
Actionlint / build (push) Successful in 50s
2026-05-01 22:07:24 +00:00
renovate 6776d1e7d3 Merge pull request 'Update int128/docker-build-cache-config-action action to v1.53.0 #none minor (main)' (#38) from renovate-main-github-actions into main
Actionlint / build (push) Successful in 25s
2026-05-01 21:06:39 +03:00
renovate b3dd42f268 Update int128/docker-build-cache-config-action action to v1.53.0 #none minor
Actionlint / build (push) Successful in 47s
2026-05-01 17:06:34 +00:00
renovate 40272d52b5 Merge pull request 'Update int128/docker-build-cache-config-action action to v1.52.0 #none minor (main)' (#37) from renovate-main-github-actions into main
Actionlint / build (push) Successful in 55s
2026-04-25 22:07:29 +03:00
renovate c36168b419 Update int128/docker-build-cache-config-action action to v1.52.0 #none minor
Actionlint / build (push) Successful in 48s
2026-04-25 18:07:25 +00:00
renovate 4e5434d271 Merge pull request 'Update int128/docker-build-cache-config-action action to v1.51.0 #none minor (main)' (#36) from renovate-main-github-actions into main
Actionlint / build (push) Successful in 22s
2026-04-19 01:06:06 +03:00
renovate dc44ebc81c Update int128/docker-build-cache-config-action action to v1.51.0 #none minor
Actionlint / build (push) Successful in 1m58s
2026-04-18 21:06:04 +00:00
renovate a9a1f1e2ff Merge pull request 'Update int128/docker-build-cache-config-action action to v1.49.0 #none minor (main)' (#35) from renovate-main-github-actions into main
Actionlint / build (push) Successful in 23s
2026-03-28 01:07:05 +02:00
renovate 168e67acd5 Update int128/docker-build-cache-config-action action to v1.49.0 #none minor
Actionlint / build (push) Successful in 54s
2026-03-27 22:07:02 +00:00
renovate 2e9a2dde42 Merge pull request 'Update int128/docker-build-cache-config-action action to v1.48.0 #none minor (main)' (#34) from renovate-main-github-actions into main
Actionlint / build (push) Successful in 29s
2026-03-07 23:06:09 +02:00
renovate d2900ce3e1 Update int128/docker-build-cache-config-action action to v1.48.0 #none minor
Actionlint / build (push) Successful in 22s
2026-03-07 21:06:06 +00:00
renovate 81f82391a2 Merge pull request 'Update int128/docker-build-cache-config-action action to v1.47.0 #none minor (main)' (#33) from renovate-main-github-actions into main
Actionlint / build (push) Successful in 24s
2026-02-15 00:06:07 +02:00
renovate 4008e2e1b1 Update int128/docker-build-cache-config-action action to v1.47.0 #none minor
Actionlint / build (push) Successful in 41s
2026-02-14 22:06:05 +00:00
renovate 24c57d203a Update docker/build-push-action action to v6.19.2 #none patch
Actionlint / build (push) Successful in 22s
2026-02-12 09:06:46 +00:00
renovate cdf16e34b4 Update docker/build-push-action action to v6.19.1 #none patch
Actionlint / build (push) Successful in 22s
2026-02-11 16:06:53 +00:00
renovate da445f311a Merge pull request 'Update docker/build-push-action action to v6.19.0 #none minor (main)' (#32) from renovate-main-github-actions into main
Actionlint / build (push) Successful in 23s
2026-02-11 14:06:52 +02:00
renovate 48e9c8845a Update docker/build-push-action action to v6.19.0 #none minor
Actionlint / build (push) Successful in 22s
2026-02-11 12:06:50 +00:00
renovate 2b39d5f8ac Merge pull request 'Update int128/docker-build-cache-config-action action to v1.46.0 #none minor (main)' (#31) from renovate-main-github-actions into main
Actionlint / build (push) Successful in 22s
2026-02-07 23:07:02 +02:00
renovate eca7b4650f Update int128/docker-build-cache-config-action action to v1.46.0 #none minor
Actionlint / build (push) Successful in 21s
2026-02-07 21:06:58 +00:00
renovate 6c6bf4e9f4 Merge pull request 'Update int128/docker-build-cache-config-action action to v1.45.0 #none minor (main)' (#30) from renovate-main-github-actions into main
Actionlint / build (push) Successful in 22s
2026-02-07 00:06:19 +02:00
renovate b99d9e797d Update int128/docker-build-cache-config-action action to v1.45.0 #none minor
Actionlint / build (push) Successful in 20s
2026-02-06 22:06:16 +00:00
renovate 7ed228916e Merge pull request 'Update docker/login-action action to v3.7.0 #none minor (main)' (#29) from renovate-main-github-actions into main
Actionlint / build (push) Successful in 23s
2026-01-28 15:06:42 +02:00
renovate 7744cd0d35 Update docker/login-action action to v3.7.0 #none minor
Actionlint / build (push) Successful in 46s
2026-01-28 13:06:38 +00:00
renovate 9d01fe7662 Merge pull request 'Update int128/docker-build-cache-config-action action to v1.44.0 #none minor (main)' (#28) from renovate-main-github-actions into main
Actionlint / build (push) Successful in 21s
2026-01-16 18:08:02 +02:00
renovate 0741c04ff6 Update int128/docker-build-cache-config-action action to v1.44.0 #none minor
Actionlint / build (push) Successful in 20s
2026-01-16 16:07:59 +00:00
renovate 168b66e2aa Merge pull request 'Update int128/docker-build-cache-config-action action to v1.42.0 #none minor (main)' (#27) from renovate-main-github-actions into main
Actionlint / build (push) Successful in 23s
2026-01-11 10:06:27 +02:00
renovate bd9738662c Update int128/docker-build-cache-config-action action to v1.42.0 #none minor
Actionlint / build (push) Successful in 22s
2026-01-11 08:06:24 +00:00
renovate 0a0a911382 Merge pull request 'Update int128/docker-build-cache-config-action action to v1.41.0 #none minor (main)' (#26) from renovate-main-github-actions into main
Actionlint / build (push) Successful in 23s
2025-12-31 09:06:49 +02:00
renovate d00d17e69b Update int128/docker-build-cache-config-action action to v1.41.0 #none minor
Actionlint / build (push) Successful in 25s
2025-12-31 07:06:46 +00:00
renovate 26499dca4f Merge pull request 'Update docker/setup-buildx-action action to v3.12.0 #none minor (main)' (#25) from renovate-main-github-actions into main
Actionlint / build (push) Successful in 56s
2025-12-19 13:06:21 +02:00
renovate e169a25f34 Update docker/setup-buildx-action action to v3.12.0 #none minor
Actionlint / build (push) Successful in 51s
2025-12-19 11:06:18 +00:00
renovate e60c192d19 Merge pull request 'Update docker/metadata-action action to v5.10.0 #none minor (main)' (#24) from renovate-main-github-actions into main
Actionlint / build (push) Successful in 22s
2025-11-27 15:06:52 +02:00
renovate ba772d1f9d Update docker/metadata-action action to v5.10.0 #none minor
Actionlint / build (push) Successful in 20s
2025-11-27 13:06:49 +00:00
renovate 1088e4e28d Update actions/checkout action to v4.3.1 #none patch
Actionlint / build (push) Successful in 21s
2025-11-17 17:06:40 +00:00
3 changed files with 103 additions and 8 deletions
+93
View File
@@ -0,0 +1,93 @@
name: 'Tag Build and Push Docker image'
on:
workflow_call:
inputs:
registry: # id of input
description: 'docker regisry host name'
type: string
default: 'gitea.phadric.de'
cache-registry: # id of input
description: 'docker regisry host name'
default: 'imagecache.phadric.de'
type: string
image_name:
description: 'name of the dockerimage'
required: true
type: string
checkout:
description: 'checkout repo first'
default: 'true'
type: string
tag:
description: 'checkout repo first'
default: 'true'
type: string
# secrets:
# TOKEN:
# description: 'repo auth token'
# required: true
jobs:
build:
runs-on: slim
steps:
- name: Checkout repository
if: ${{ inputs.checkout == 'true' }}
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
fetch-depth: '0'
- name: Bump version and push tag
id: tag
if: ${{ inputs.tag == 'true' }}
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
GIT_API_TAGGING: false # dont use API
WITH_V: true
PRERELEASE: true
PRERELEASE_SUFFIX: ${{ github.ref_name }}
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
with:
flavor: |
latest=${{ github.ref_name == 'main' || github.ref_name == 'master' }}
tags: |
type=ref,event=branch
type=semver,pattern={{version}},value=${{steps.tag.outputs.tag}}
# output 0.1
type=semver,pattern={{major}}.{{minor}},value=${{steps.tag.outputs.tag}}
# disabled if major zero
type=semver,pattern={{major}},value=${{steps.tag.outputs.tag}},enable=${{ !startsWith(steps.tag.outputs.tag, 'v0.') }}
images: ${{ inputs.registry }}/${{ inputs.image_name }}
- uses: int128/docker-build-cache-config-action@6b41b75cecc2e81696c50ae7c6c0300b51c2bee1 # v1.62.0
id: cache
with:
image: ${{ inputs.cache-registry }}/${{ inputs.image_name }}-cache
extra-cache-to: image-manifest=true
- name: Setup Docker buildx
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
- name: Log into registry ${{ inputs.registry }}
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
with:
registry: ${{ inputs.registry }}
username: ${{ github.actor }}
password: ${{ secrets.TOKEN }}
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
platforms: linux/amd64
labels: ${{ steps.meta.outputs.labels }}
cache-from: |
type=registry,ref=${{ inputs.cache-registry }}/${{ inputs.image_name }}-cache:latest
type=registry,ref=${{ inputs.cache-registry }}/${{ inputs.image_name }}-cache:${{ github.ref_name }}
${{ steps.cache.outputs.cache-from }}
cache-to: |
${{ steps.cache.outputs.cache-to }}
type=registry,ref=${{ inputs.cache-registry }}/${{ inputs.image_name }}-cache:latest,mode=max,image-manifest=true
+4 -2
View File
@@ -13,13 +13,15 @@ jobs:
build:
runs-on: slim
permissions:
contents: read
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- 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
- name: Verify Workflow
run: actionlint -ignore 'label "slim" is unknown' .github/workflows/docker-build.yml
- name: tag latest after success
if: github.ref == 'refs/heads/main'
id: tag
+6 -6
View File
@@ -29,7 +29,7 @@ runs:
steps:
- name: Checkout repository
if: ${{ inputs.checkout == 'true' }}
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
fetch-depth: '0'
- name: Bump version and push tag
@@ -45,7 +45,7 @@ runs:
PRERELEASE_SUFFIX: ${{ github.ref_name }}
- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@318604b99e75e41977312d83839a89be02ca4893 # v5.9.0
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051 # v5.10.0
with:
flavor: |
latest=${{ github.ref_name == 'main' || github.ref_name == 'master' }}
@@ -57,22 +57,22 @@ runs:
# disabled if major zero
type=semver,pattern={{major}},value=${{steps.tag.outputs.tag}},enable=${{ !startsWith(steps.tag.outputs.tag, 'v0.') }}
images: ${{ inputs.registry }}/${{ inputs.image_name }}
- uses: int128/docker-build-cache-config-action@fb186e80c08f14a2e56ed9105d4594562bff013f # v1.40.0
- uses: int128/docker-build-cache-config-action@6b41b75cecc2e81696c50ae7c6c0300b51c2bee1 # v1.62.0
id: cache
with:
image: ${{ inputs.cache-registry }}/${{ inputs.image_name }}-cache
extra-cache-to: image-manifest=true
- name: Setup Docker buildx
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
- name: Log into registry ${{ inputs.registry }}
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
uses: docker/login-action@c94ce9fb468520275223c153574b00df6fe4bcc9 # v3.7.0
with:
registry: ${{ inputs.registry }}
username: ${{ github.actor }}
password: ${{ inputs.token }}
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
uses: docker/build-push-action@10e90e3645eae34f1e60eeb005ba3a3d33f178e8 # v6.19.2
with:
context: .
push: true