1 Commits

Author SHA1 Message Date
e21a90a6cb Update actions/checkout action to v5 #none major
All checks were successful
Actionlint / build (push) Successful in 20s
2025-11-17 18:06:48 +00:00
2 changed files with 7 additions and 7 deletions

View File

@@ -17,7 +17,7 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.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: tag latest after success - name: tag latest after success

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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
with: with:
fetch-depth: '0' fetch-depth: '0'
- name: Bump version and push tag - name: Bump version and push tag
@@ -45,7 +45,7 @@ runs:
PRERELEASE_SUFFIX: ${{ github.ref_name }} PRERELEASE_SUFFIX: ${{ github.ref_name }}
- name: Extract Docker metadata - name: Extract Docker metadata
id: meta id: meta
uses: docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf # v6.0.0 uses: docker/metadata-action@318604b99e75e41977312d83839a89be02ca4893 # v5.9.0
with: with:
flavor: | flavor: |
latest=${{ github.ref_name == 'main' || github.ref_name == 'master' }} latest=${{ github.ref_name == 'main' || github.ref_name == 'master' }}
@@ -57,22 +57,22 @@ 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@3a4a4fababc091be29633e5a2b3bbf523996802a # v1.47.0 - uses: int128/docker-build-cache-config-action@fb186e80c08f14a2e56ed9105d4594562bff013f # v1.40.0
id: cache id: cache
with: with:
image: ${{ inputs.cache-registry }}/${{ inputs.image_name }}-cache image: ${{ inputs.cache-registry }}/${{ inputs.image_name }}-cache
extra-cache-to: image-manifest=true extra-cache-to: image-manifest=true
- name: Setup Docker buildx - name: Setup Docker buildx
uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4.0.0 uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
- name: Log into registry ${{ inputs.registry }} - name: Log into registry ${{ inputs.registry }}
uses: docker/login-action@b45d80f862d83dbcd57f89517bcf500b2ab88fb2 # v4.0.0 uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
with: with:
registry: ${{ inputs.registry }} registry: ${{ inputs.registry }}
username: ${{ github.actor }} username: ${{ github.actor }}
password: ${{ inputs.token }} password: ${{ inputs.token }}
- name: Build and push Docker image - name: Build and push Docker image
id: build-and-push id: build-and-push
uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0 uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
with: with:
context: . context: .
push: true push: true