Skip to content

Commit

Permalink
Fixing build
Browse files Browse the repository at this point in the history
  • Loading branch information
edmondop committed Jun 29, 2023
1 parent 297d05b commit 26fd4f4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@ jobs:
with:
path: /home/runner/go/pkg/mod
key: go-mod
- name: Setting root of the Git checkout as env
run:
echo PROJECT_ROOT=$(pwd) >> $GITHUB_ENV
- uses: goreleaser/goreleaser-action@v2
with:
args: release --snapshot --skip-sign
env:
PROJECT_ROOT: ./
- if: always()
run: rm -f ${HOME}/.docker/config.json
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
uses: crazy-max/ghaction-import-gpg@v4
with:
gpg_private_key: ${{ secrets.SIGNING_KEY }}
- name: Setting root of the Git checkout as env
run:
echo PROJECT_ROOT=$(pwd) >> $GITHUB_ENV
- uses: goreleaser/goreleaser-action@v2
with:
args: release
Expand Down

0 comments on commit 26fd4f4

Please sign in to comment.