feat: specify cert and key as files within kubeconfig (#69) #68
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Build Client Binaries" | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.21.3 | |
- run: | | |
set -ex | |
# Build the binaries | |
make build-client-all | |
# Make sure we can actually invoke linux/amd64 | |
pushd client/bin | |
chmod +x ./tls-bootstrap-client-amd64 | |
./tls-bootstrap-client-amd64 -h | |
if [ $? -ne 0 ]; then | |
echo "unable to invoke linux/amd64 binary" | |
exit 1 | |
fi | |
popd | |