Skip to content

Commit

Permalink
Merge pull request #20 from CptOfEvilMinions/initial-cicd
Browse files Browse the repository at this point in the history
Initial cicd
  • Loading branch information
CptOfEvilMinions authored Dec 28, 2021
2 parents 28dd4af + 8f2516a commit cec9f47
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/tagged-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
components: ['tls', 'admin', 'api', 'cli']
goos: ['linux']
goarch: ['amd64']
matrix:
components: ['tls', 'admin', 'api', 'cli']
goos: ['linux']
goarch: ['amd64']
steps:
######################################## Checkout code ########################################
- name: Checkout code
Expand All @@ -30,6 +30,7 @@ jobs:
- name: Build osctrl-tls
run: GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o ./bin/osctrl-${{ matrix.components }}-${{ github.ref }}-${{ matrix.goos }}-${{ matrix.goarch }}.bin ./${{ matrix.components }}
create_release:
runs-on: ubuntu-20.04
steps:
######################################## Create release ########################################
- name: Create Release
Expand All @@ -44,6 +45,12 @@ jobs:
tag_name: ${{ github.ref }}
body_path: CHANGELOG.md
upload_relaese_binaries:
runs-on: ubuntu-20.04
strategy:
matrix:
components: ['tls', 'admin', 'api', 'cli']
goos: ['linux']
goarch: ['amd64']
steps:
######################################## Add binaries to release ########################################
- name: Upload Release Asset
Expand Down

0 comments on commit cec9f47

Please sign in to comment.