Skip to content

Commit

Permalink
ci(github): use newer Kong/public-shared-actions
Browse files Browse the repository at this point in the history
We need Kong/public-shared-actions#95 to
make this work on self-hosted runners

Signed-off-by: Charly Molter <[email protected]>
  • Loading branch information
lahabana committed Mar 5, 2024
1 parent eb8cf09 commit a79a864
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/_build_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,14 +139,14 @@ jobs:
# TODO Do we need to scan images for each arch?
- name: scan amd64 image
id: scan_image-amd64
uses: Kong/public-shared-actions/security-actions/scan-docker-image@b0ef627fa71528272d1daa9257b71dc90246cc46
uses: Kong/public-shared-actions/security-actions/scan-docker-image@60c9b136104671b7091b2306c599d80fec34ae3f # v2.0.3
with:
asset_prefix: image_${{ matrix.image }}-amd64
image: ./build/docker/${{ matrix.image }}-amd64.tar
- name: scan arm64 image
id: scan_image-arm64
if: ${{ fromJSON(inputs.FULL_MATRIX) }}
uses: Kong/public-shared-actions/security-actions/scan-docker-image@b0ef627fa71528272d1daa9257b71dc90246cc46
uses: Kong/public-shared-actions/security-actions/scan-docker-image@60c9b136104671b7091b2306c599d80fec34ae3f # v2.0.3
with:
asset_prefix: image_${{ matrix.image }}-arm64
image: ./build/docker/${{ matrix.image }}-arm64.tar
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
# TODO At the it's asking for verifying a token in a browser... Something seems off
if: false # ${{ fromJSON(inputs.ALLOW_PUSH) }}
id: sign
uses: Kong/public-shared-actions/security-actions/sign-docker-image@b0ef627fa71528272d1daa9257b71dc90246cc46
uses: Kong/public-shared-actions/security-actions/sign-docker-image@60c9b136104671b7091b2306c599d80fec34ae3f # v2.0.3
with:
image_digest: ${{ steps.manifest_digest.outputs.digest }}
tags: ${{ steps.image_meta.outputs.tag }}
Expand Down

0 comments on commit a79a864

Please sign in to comment.