37 Commits

Author SHA1 Message Date
77dfb633bb Update action.yml
All checks were successful
Actionlint / build (push) Successful in 19s
2025-10-22 17:47:20 +03:00
088cc4b4cc Update action.yml
All checks were successful
Actionlint / build (push) Successful in 19s
2025-10-22 17:45:30 +03:00
36c7ccf6c6 Merge pull request 'Update int128/docker-build-cache-config-action action to v1.40.0 #none minor' (#21) from renovate-github-actions into main
All checks were successful
Actionlint / build (push) Successful in 22s
2025-10-18 08:06:39 +03:00
1dfa01616b Update int128/docker-build-cache-config-action action to v1.40.0 #none minor
All checks were successful
Actionlint / build (push) Successful in 19s
2025-10-18 05:06:36 +00:00
c353e88228 revert 101ec77574
All checks were successful
Actionlint / build (push) Successful in 26s
revert Update action.yml
2025-10-10 15:45:12 +03:00
101ec77574 Update action.yml
All checks were successful
Actionlint / build (push) Successful in 53s
2025-10-10 15:26:30 +03:00
2085bb5404 Update action.yml
All checks were successful
Actionlint / build (push) Successful in 21s
2025-10-02 16:36:30 +03:00
4ad0f27344 Update action.yml
All checks were successful
Actionlint / build (push) Successful in 21s
2025-10-02 16:33:48 +03:00
579ebf6345 Merge pull request 'Update docker/login-action action to v3.6.0 #none minor' (#20) from renovate-github-actions into main
All checks were successful
Actionlint / build (push) Successful in 20s
2025-09-29 14:06:44 +03:00
c3d97a54a3 Update docker/login-action action to v3.6.0 #none minor
All checks were successful
Actionlint / build (push) Successful in 20s
2025-09-29 11:06:41 +00:00
1e7ef5dfa5 Merge pull request 'Update int128/docker-build-cache-config-action action to v1.39.0 #none minor' (#19) from renovate-github-actions into main
All checks were successful
Actionlint / build (push) Successful in 20s
2025-09-27 04:06:57 +03:00
32061d32c7 Update int128/docker-build-cache-config-action action to v1.39.0 #none minor
All checks were successful
Actionlint / build (push) Successful in 19s
2025-09-27 01:06:55 +00:00
9d6404c2f4 Update action.yml
All checks were successful
Actionlint / build (push) Successful in 11s
2025-08-18 14:06:21 +03:00
e5a635c741 Merge pull request 'Update actions/checkout action to v4.3.0 #none minor' (#17) from renovate-github-actions into main
All checks were successful
Actionlint / build (push) Successful in 13s
2025-08-11 14:07:53 +03:00
e04f237647 Update actions/checkout action to v4.3.0 #none minor
All checks were successful
Actionlint / build (push) Successful in 14s
2025-08-11 11:07:51 +00:00
de2b1bbbac Merge pull request 'Update docker/login-action action to v3.5.0 #none minor' (#16) from renovate-github-actions into main
All checks were successful
Actionlint / build (push) Successful in 6s
2025-08-04 17:06:31 +03:00
a136f6982a Update docker/login-action action to v3.5.0 #none minor 2025-08-04 14:06:30 +00:00
d4c4cd3dfb Merge pull request 'Update docker/metadata-action action to v5.8.0 #none minor' (#15) from renovate-github-actions into main
All checks were successful
Actionlint / build (push) Successful in 13s
2025-08-01 13:07:54 +03:00
683fa5c055 Update docker/metadata-action action to v5.8.0 #none minor
All checks were successful
Actionlint / build (push) Successful in 5s
2025-08-01 10:07:51 +00:00
046a225e7e Update docker/setup-buildx-action action to v3.11.1 #none patch
All checks were successful
Actionlint / build (push) Successful in 24s
2025-06-18 09:08:40 +00:00
e5b46d6385 Update docker/setup-buildx-action action to v3.11.0 #none minor
All checks were successful
Actionlint / build (push) Successful in 21s
2025-06-16 13:08:25 +00:00
69cad58d3f Update docker/build-push-action action to v6.18.0 #none minor
All checks were successful
Actionlint / build (push) Successful in 10s
2025-05-27 17:08:15 +00:00
5195bbca59 Merge pull request 'separate_cache' (#12) from separate_cache into main
All checks were successful
Actionlint / build (push) Successful in 9s
Reviewed-on: #12
2025-05-23 15:37:09 +03:00
5eecde82b3 Update action.yml
All checks were successful
Actionlint / build (push) Successful in 8s
2025-05-23 15:18:24 +03:00
087e5b576f Update action.yml
All checks were successful
Actionlint / build (push) Successful in 11s
2025-05-23 14:42:05 +03:00
e7cc9a3266 Update docker/build-push-action action to v6.17.0 #none minor
All checks were successful
Actionlint / build (push) Successful in 6s
2025-05-15 13:07:00 +00:00
862ae7dd2b Update Github Actions #none minor
All checks were successful
Actionlint / build (push) Successful in 5s
2025-05-12 11:10:05 +00:00
95ef39b83c Update docker/login-action action to v3.4.0 #none minor
All checks were successful
Actionlint / build (push) Successful in 11s
2025-03-14 10:07:01 +00:00
889cffd45b Update Github Actions #none minor
All checks were successful
Actionlint / build (push) Successful in 7s
2025-02-26 16:07:06 +00:00
f98a84551d Update docker/build-push-action action to v6.14.0 #none minor
All checks were successful
Actionlint / build (push) Successful in 13s
2025-02-19 16:06:34 +00:00
776f1b1fd1 Update docker/setup-buildx-action action to v3.9.0 #none minor
All checks were successful
Actionlint / build (push) Successful in 8s
2025-02-06 14:06:26 +00:00
356ccabf9c Update docker/build-push-action action to v6.13.0 #none minor
All checks were successful
Actionlint / build (push) Successful in 7s
2025-01-24 10:06:37 +00:00
29016b9cf4 Update action.yml
All checks were successful
Actionlint / build (push) Successful in 12s
2025-01-20 11:04:36 +02:00
7053f2f43b Update action.yml
All checks were successful
Actionlint / build (push) Successful in 6s
2025-01-20 11:00:15 +02:00
778054feda Update docker/build-push-action action to v6.12.0 #none minor
All checks were successful
Actionlint / build (push) Successful in 7s
2025-01-15 13:07:02 +00:00
cbe3fdd719 Update docker/build-push-action action to v6.11.0 #none minor
All checks were successful
Actionlint / build (push) Successful in 13s
2025-01-08 10:06:07 +00:00
3cc527e684 Update Github Actions #none patch
All checks were successful
Actionlint / build (push) Successful in 12s
2025-01-07 11:21:52 +00:00
2 changed files with 18 additions and 61 deletions

View File

@@ -17,7 +17,7 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.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

View File

@@ -5,6 +5,10 @@ inputs:
description: 'docker regisry host name' description: 'docker regisry host name'
required: true required: true
default: 'gitea.phadric.de' default: 'gitea.phadric.de'
cache-registry: # id of input
description: 'docker regisry host name'
required: true
default: 'imagecache.phadric.de'
image_name: image_name:
description: 'name of the dockerimage' description: 'name of the dockerimage'
required: true required: true
@@ -12,70 +16,23 @@ inputs:
token: token:
description: 'repo auth token' description: 'repo auth token'
required: true required: true
checkout:
description: 'checkout repo first'
default: 'true'
tag:
description: 'checkout repo first'
default: 'true'
runs: runs:
using: "composite" using: "composite"
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 if: ${{ inputs.checkout == 'true' }}
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
with: with:
fetch-depth: '0' fetch-depth: '0'
- name: debug Stuff
- name: Bump version and push tag run: |
id: tag mount
uses: phadric/github-tag-action@a5250a59655e9f4b0350407380a92c73948f2aec # master ls -latr /opt/hostedtoolcache/
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@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1
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@34bb1b5886d06c161bf0dd9e169f03a52ff858fb # v1.35.0
id: cache
with:
image: ${{ inputs.registry }}/${{ inputs.image_name }}-cache
extra-cache-to: image-manifest=true
- name: Setup Docker buildx
uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3.7.1
- name: Log into registry ${{ inputs.registry }}
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.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@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
platforms: linux/amd64
labels: ${{ steps.meta.outputs.labels }}
cache-from: |
type=registry,ref=${{ inputs.registry }}/${{ inputs.image_name }}-cache:latest
type=registry,ref=${{ inputs.registry }}/${{ inputs.image_name }}-cache:${{ github.ref_name }}
${{ steps.cache.outputs.cache-from }}
cache-to: |
${{ steps.cache.outputs.cache-to }}
type=registry,ref=${{ inputs.registry }}/${{ inputs.image_name }}-cache:latest,mode=max,image-manifest=true