Skip to content

Commit

Permalink
chore(ci): updated public-shared-actions to v2.7.3 (#10533)
Browse files Browse the repository at this point in the history
* chore(ci): updated public-shared-actions to v2.7.3

* chore(ci): skip cis scan
  • Loading branch information
AndyZhang0707 authored Oct 25, 2024
1 parent 19081b8 commit 241edc2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
spec-ee/**
- name: Lua Check
uses: Kong/public-shared-actions/code-check-actions/lua-lint@d4d6b2a7e202398f62eb37c554df9732b27d9d84 # v2.5.1
uses: Kong/public-shared-actions/code-check-actions/lua-lint@28d20a1f492927f35b00b317acd78f669c45f88b # v2.7.3
with:
additional_args: '--no-default-config --config .luacheckrc --exclude-files ./distribution/'
# Point to the /dev/null file if no files are changed.
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ jobs:
- name: Sign Prerelease Container Images
id: sign_prerelease_images
if: ${{ env.HAS_ACCESS_TO_GITHUB_TOKEN == 'true' && steps.image.outputs.digest != '' && (github.event_name != 'pull_request' || (github.event.pull_request.head.repo.full_name == github.repository)) }}
uses: Kong/public-shared-actions/security-actions/sign-docker-image@d4d6b2a7e202398f62eb37c554df9732b27d9d84
uses: Kong/public-shared-actions/security-actions/sign-docker-image@28d20a1f492927f35b00b317acd78f669c45f88b # v2.7.3
with:
image_digest: ${{ steps.image.outputs.digest }}
tags: ${{ steps.meta.outputs.tags }}
Expand Down Expand Up @@ -591,7 +591,7 @@ jobs:
if: ${{ steps.image_manifest_metadata.outputs.amd64_image_sha != '' }}
id: sbom_action_amd64
timeout-minutes: 5
uses: Kong/public-shared-actions/security-actions/scan-docker-image@d4d6b2a7e202398f62eb37c554df9732b27d9d84
uses: Kong/public-shared-actions/security-actions/scan-docker-image@28d20a1f492927f35b00b317acd78f669c45f88b # v2.7.3
with:
asset_prefix: kong-${{ needs.metadata.outputs.gh-release-tag-name }}-${{ matrix.label }}-linux-amd64
image: ${{ needs.metadata.outputs.prerelease-docker-repository }}:${{ needs.metadata.outputs.commit-sha }}-${{ matrix.label }}
Expand All @@ -600,17 +600,19 @@ jobs:
# see also:
# https://github.com/Kong/public-shared-actions/blob/main/security-actions/scan-docker-image/README.md#security-actions
fail_build: true
skip_cis_scan: true # FIXME

- name: Scan ARM64 Image digest
if: ${{ steps.image_manifest_metadata.outputs.arm64_image_sha != '' }}
id: sbom_action_arm64
timeout-minutes: 5
uses: Kong/public-shared-actions/security-actions/scan-docker-image@d4d6b2a7e202398f62eb37c554df9732b27d9d84
uses: Kong/public-shared-actions/security-actions/scan-docker-image@28d20a1f492927f35b00b317acd78f669c45f88b # v2.7.3
with:
asset_prefix: kong-${{ needs.metadata.outputs.gh-release-tag-name }}-${{ matrix.label }}-linux-arm64
image: ${{ needs.metadata.outputs.prerelease-docker-repository }}:${{ needs.metadata.outputs.commit-sha }}-${{ matrix.label }}
# see above
fail_build: true
skip_cis_scan: true # FIXME

- name: Upload SBOM assets
if: |
Expand Down Expand Up @@ -856,7 +858,7 @@ jobs:
- name: Sign release images
id: sign_release_images
if: ${{ github.event.inputs.official == 'true' && steps.attestation_metadata.outputs.release_tags != '' && env.HAS_ACCESS_TO_GITHUB_TOKEN == 'true' && steps.release_images.outputs.prerelease_image_digest != '' && (github.event_name != 'pull_request' || (github.event.pull_request.head.repo.full_name == github.repository)) }}
uses: Kong/public-shared-actions/security-actions/sign-docker-image@d4d6b2a7e202398f62eb37c554df9732b27d9d84
uses: Kong/public-shared-actions/security-actions/sign-docker-image@28d20a1f492927f35b00b317acd78f669c45f88b # v2.7.3
with:
image_digest: ${{ steps.release_images.outputs.prerelease_image_digest }}
tags: ${{ steps.attestation_metadata.outputs.release_tags }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: Kong/public-shared-actions/security-actions/semgrep@9d9c93f3941969daff746687035bf8157514a300
- uses: Kong/public-shared-actions/security-actions/semgrep@28d20a1f492927f35b00b317acd78f669c45f88b # v2.7.3

0 comments on commit 241edc2

Please sign in to comment.