Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/build-cssc-dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ jobs:
- name: Set up ORAS
uses: oras-project/setup-oras@38de303aac69abb66f3e6255b7198bff35f323e3 # v2.0.0

- name: Set up crane
uses: imjasonh/setup-crane@31b88efe9de28ae0ffa220711af4b60be9435f6e # v0.4

- name: Log in to GHCR
env:
GHCR_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -300,6 +303,21 @@ jobs:
run-id: ${{ github.run_id }}
run-attempt: ${{ github.run_attempt }}

- name: Stage image index graph event
# Multi-arch builds: link the pushed index to its per-platform children
# (single-arch builds stage nothing, matching mirror/promote).
if: ${{ steps.build.outputs.image-digest != '' }}
uses: ./.github/actions/stage-image-index-events
with:
ref: ghcr.io/toddysm/apps/cssc-dashboard/${{ matrix.service }}
digest: ${{ steps.build.outputs.image-digest }}
tag: ${{ steps.build.outputs.tag-build }}
output-dir: ${{ runner.temp }}/graph-events
workflow: ${{ github.workflow }}
run-url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
run-id: ${{ github.run_id }}
run-attempt: ${{ github.run_attempt }}

- name: Stage tag observation graph event (${{ steps.build.outputs.tag-major }})
if: ${{ steps.build.outputs.image-digest != '' }}
uses: ./.github/actions/build-graph-event
Expand Down
Loading