From 155b52b24a90f78a3a5b019473cea1daf12feee4 Mon Sep 17 00:00:00 2001 From: Nicolas-Peiffer <102670102+Nicolas-Peiffer@users.noreply.github.com> Date: Fri, 15 Nov 2024 16:07:58 +0100 Subject: [PATCH] jobs graphs improvement: set lowercase first Signed-off-by: Nicolas-Peiffer <102670102+Nicolas-Peiffer@users.noreply.github.com> --- .github/workflows/base-container-build.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/base-container-build.yaml b/.github/workflows/base-container-build.yaml index 1589819..9a83618 100644 --- a/.github/workflows/base-container-build.yaml +++ b/.github/workflows/base-container-build.yaml @@ -134,7 +134,7 @@ jobs: # Job to build a SLSA provenance attestation base-image-provenance: name: Generate SLSA provenance attestation for OCI - needs: build-base-image # Ensure this job runs after build-base-image + needs: [build-base-image, set-lowercase-repository] # Ensure this job runs after build-base-image permissions: actions: read # for detecting the Github Actions environment. id-token: write # for creating OIDC tokens for signing. Required for SLSA and Cosign @@ -150,7 +150,7 @@ jobs: # Kaniko job to build a container image "goreleaser-glibc-image" that has a goreleaser entrypoint build-goreleaser-entryp-image: - needs: build-base-image # Ensure this job runs after build-base-image + needs: [build-base-image, set-lowercase-repository] # Ensure this job runs after build-base-image runs-on: ubuntu-latest steps: - name: Checkout source code @@ -235,7 +235,7 @@ jobs: goreleaser-entryp-image-provenance: name: Generate SLSA provenance attestation for OCI - needs: build-goreleaser-entryp-image # Ensure this job runs after build-base-image + needs: [build-goreleaser-entryp-image, set-lowercase-repository] # Ensure this job runs after build-base-image permissions: actions: read # for detecting the Github Actions environment. id-token: write # for creating OIDC tokens for signing. Required for SLSA and Cosign