Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update legacy-release_sbom-generator.yaml #29584

Closed
wants to merge 22 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
b995b02
Update legacy-release_sbom-generator.yaml
rsh1k Aug 14, 2024
c80d082
Update legacy-release_sbom-generator.yaml
rsh1k Aug 14, 2024
b3f246e
Update legacy-release_sbom-generator.yaml
rsh1k Aug 14, 2024
4cf9a2c
Update legacy-release_sbom-generator.yaml
rsh1k Aug 15, 2024
7be3dca
Update legacy-release_sbom-generator.yaml
rsh1k Aug 15, 2024
f16d56a
Update legacy-release_sbom-generator.yaml
rsh1k Aug 15, 2024
8b12ef5
Update legacy-release_sbom-generator.yaml
rsh1k Aug 15, 2024
e27b3c7
Update legacy-release_sbom-generator.yaml
rsh1k Aug 15, 2024
d5e81fc
Update legacy-release_sbom-generator.yaml
rsh1k Aug 15, 2024
24d859e
Update legacy-release_sbom-generator.yaml
rsh1k Aug 15, 2024
1679c61
Update legacy-release_sbom-generator.yaml
rsh1k Aug 15, 2024
10b3d7a
Update legacy-release_sbom-generator.yaml
rsh1k Aug 15, 2024
4a9cde8
Update legacy-release_sbom-generator.yaml
rsh1k Aug 15, 2024
9866621
Update legacy-release_sbom-generator.yaml
rsh1k Aug 15, 2024
07dc637
Merge branch 'master' into rashik1144-patch-7
mbiuki Aug 15, 2024
201a656
Merge branch 'master' into rashik1144-patch-7
mbiuki Aug 15, 2024
c06b0fd
Merge branch 'master' into rashik1144-patch-7
rsh1k Aug 16, 2024
4769cd2
Update legacy-release_sbom-generator.yaml
rsh1k Aug 19, 2024
d72d98e
Merge branch 'master' into rashik1144-patch-7
rsh1k Aug 19, 2024
1a64b0c
Merge branch 'master' into rashik1144-patch-7
rsh1k Aug 20, 2024
c37b8a7
Merge branch 'master' into rashik1144-patch-7
mbiuki Aug 23, 2024
d86e9a6
Merge branch 'master' into rashik1144-patch-7
rsh1k Aug 23, 2024
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
12 changes: 6 additions & 6 deletions .github/workflows/legacy-release_sbom-generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
contents: write # Ensure write access to contents

steps:
- name: Checkout core-test-results repository
- name: Checkout core repository
uses: actions/checkout@v3
with:
repository: dotCMS/core-test-results
repository: dotCMS/core
token: ${{ secrets.GITHUB_TOKEN }}
path: core-test-results
path: core

- name: Get dotCMS release version
id: get_version
Expand Down Expand Up @@ -51,12 +51,12 @@ jobs:

- name: Scan Docker Image with Syft
run: |
pipx run anchore_syft dotcms/dotcms:${{ env.DOTCMS_VERSION }} -o cyclonedx-xml > core-test-results/sbom/cyclonedx.json
pipx run anchore_syft dotcms/dotcms:${{ env.DOTCMS_VERSION }} -o cyclonedx-xml > core/sbom/cyclonedx.json

- name: Rename SBOM file with dotCMS version
run: |
mkdir -p core-test-results/sbom
mv core-test-results/sbom/cyclonedx.json core-test-results/sbom/dotcms-${{ env.DOTCMS_VERSION }}.json
mv core/sbom/cyclonedx.json core/sbom/dotcms-${{ env.DOTCMS_VERSION }}.json

- name: Configure Git
run: |
Expand All @@ -65,7 +65,7 @@ jobs:

- name: Commit and push results to core-test-results repository
run: |
cd core-test-results
cd core
git add sbom/dotcms-${{ env.DOTCMS_VERSION }}.json
git commit -m "Add SBOM for dotCMS version ${{ env.DOTCMS_VERSION }}" || echo "No changes to commit"
git push origin master
rsh1k marked this conversation as resolved.
Show resolved Hide resolved
Expand Down
Loading