Skip to content

Merge pull request #164 from ssh-connection-manager/156-update-all-pkg #106

Merge pull request #164 from ssh-connection-manager/156-update-all-pkg

Merge pull request #164 from ssh-connection-manager/156-update-all-pkg #106

name: ubuntu-go-build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22'
cache: true
- name: Build
run: |
CGO_ENABLED=0 GO111MODULE=on \
go build -ldflags "-s -w -X main.Release=dev -X main.SHA=dev" -o controller