Skip to content

Commit

Permalink
Merge pull request #222 from corvramirez/main
Browse files Browse the repository at this point in the history
Fixes broken release
  • Loading branch information
niravpatel27 committed Aug 3, 2021
2 parents 818e564 + 7635acb commit f3b3fdc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:

## Publishes our image to Docker Hub 😎
- name: Set RELEASE_VERSION env
run: echo RELEASE_VERSION=$(echo ${GITHUB_REF} | rev | cut -d'/' -f 1 | rev ) >> ${GITHUB_ENV}
- name: Publish to Registry
run: echo RELEASE_VERSION=$(echo ${GITHUB_REF} | rev | cut -d'/' -f 1 | rev ) >> ${GITHUB_ENV}
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: spdx/spdx-sbom-generator
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: "https://dl.google.com/go/go1.15.14.linux-amd64.tar.gz"
goversion: "https://dl.google.com/go/go1.16.6.linux-amd64.tar.gz"
project_path: "./cmd/generator"
binary_name: "spdx-sbom-generator"
ldflags: "-X 'main.version=${{ env.RELEASE_VERSION }}'"

0 comments on commit f3b3fdc

Please sign in to comment.