|
@@ -1,27 +0,0 @@
|
|
-# .github/workflows/build-docker-image.yml
|
|
|
|
-name: tmp_one_shot_build
|
|
|
|
-
|
|
|
|
-on:
|
|
|
|
- push:
|
|
|
|
- branches: [ master ]
|
|
|
|
-
|
|
|
|
-jobs:
|
|
|
|
- build_static:
|
|
|
|
- name: Build and upload binary package
|
|
|
|
- runs-on: ubuntu-latest
|
|
|
|
- steps:
|
|
|
|
- - name: Set up Go 1.13
|
|
|
|
- uses: actions/setup-go@v1
|
|
|
|
- with:
|
|
|
|
- go-version: 1.13
|
|
|
|
- id: go
|
|
|
|
- - name: Check out code into the Go module directory
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- - name: Build the binaries
|
|
|
|
- run: make release_static
|
|
|
|
- - name: Upload to release
|
|
|
|
- uses: JasonEtco/upload-to-release@master
|
|
|
|
- with:
|
|
|
|
- args: crowdsec-release-static.tgz application/x-gzip
|
|
|
|
- env:
|
|
|
|
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|