Skip to content

Commit

Permalink
try maintainers.asc b/c no permission to create secrets dir
Browse files Browse the repository at this point in the history
  • Loading branch information
rootulp committed Nov 27, 2023
1 parent fd5c743 commit 0a3fcdb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,8 @@ jobs:
run: |-
echo 'GITHUB_TOKEN=${{secrets.GORELEASER_ACCESS_TOKEN}}' >> .release-env
echo 'GPG_FINGERPRINT=${{ steps.import_gpg.outputs.fingerprint }}' >> .release-env
- name: Create /secrets/key.gpg
- name: Create maintainers.asc
run: |-
mkdir -p /secrets
echo "${{ secrets.GPG_SIGNING_KEY }}" > /secrets/key.gpg
echo "${{ secrets.GPG_SIGNING_KEY }}" > maintainers.asc
- name: Create prebuilt binaries and attach them to the GitHub release
run: make prebuilt-binary
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,7 @@ prebuilt-binary:
docker run \
--rm \
-e CGO_ENABLED=1 \
-e GPG_KEY=maintainers.asc \
--env-file .release-env \
-v /var/run/docker.sock:/var/run/docker.sock \
-v `pwd`:/go/src/$(PACKAGE_NAME) \
Expand Down

0 comments on commit 0a3fcdb

Please sign in to comment.