Skip to content

Commit

Permalink
Fix SBOM name
Browse files Browse the repository at this point in the history
  • Loading branch information
dragomirp committed Nov 27, 2023
1 parent b47b920 commit c2f90c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/sbom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Install Syft
run: |
curl -sSfL https://raw.githubusercontent.com/anchore/syft/4fc17edd146af34ab06f5b0443ef8ddac3aaf076/install.sh | sh -s -- -b /usr/local/bin
- name: Set tag
- name: Set version
run: |
version=$(yq '(.version|split("-"))[0]' rockcraft.yaml)
base=$(yq '(.base|split(":"))[1]' rockcraft.yaml)
Expand All @@ -28,5 +28,5 @@ jobs:
- name: Upload SBOM
uses: actions/upload-artifact@v3
with:
path: "charmed-postgresql_${{env.tag}}_amd64.rock.spdx.json"
name: charmed-postgresql_${{env.tag}}_amd64.rock.spdx.json
path: "charmed-postgresql_${{env.version}}_amd64.rock.spdx.json"
name: charmed-postgresql_${{env.version}}_amd64.rock.spdx.json

0 comments on commit c2f90c3

Please sign in to comment.