Skip to content

Commit

Permalink
WIP: Add env correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
jamlo committed Oct 25, 2024
1 parent 11f0844 commit 54d531f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,17 @@ jobs:
env:
GOOS: ${{ matrix.os }}
GOARCH: ${{ matrix.goarch }}
PRIVATE_PEM: ${{ secrets.PRIVATE_PEM }}
PUBLIC_PEM: ${{ secrets.PUBLIC_PEM }}
PRIVATE_KEY_PASSPHRASE: ${{ secrets.PRIVATE_KEY_PASSPHRASE }}
run: |
# Add Keys to expected files
touch /tmp/private.pem
touch /tmp/public.pem
chmod 600 /tmp/private.pem
chmod 600 /tmp/public.pem
echo "${{ secrets.PRIVATE_PEM }}" > /tmp/private.pem
echo "${{ secrets.PUBLIC_PEM }}" > /tmp/public.pem
echo "${PRIVATE_PEM}" > /tmp/private.pem
echo "${PUBLIC_PEM}" > /tmp/public.pem
# Start build
echo "Building bacalhau binary for: ${GOOS} ${GOARCH}"
Expand Down

0 comments on commit 54d531f

Please sign in to comment.