feat: deploying admin console with the embedded license (#86) #9
Workflow file for this run
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: Release | |
on: | |
push: | |
tags: | |
- "v*.*.*" | |
permissions: | |
contents: write | |
jobs: | |
releaser: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Extract tag name | |
run: echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.21" | |
- name: Build linux-amd64 | |
run: | | |
make helmvm-linux-amd64 VERSION=$TAG_NAME | |
tar -C output/bin -czvf helmvm-linux-amd64.tgz helmvm | |
make clean | |
- name: Build darwin-amd64 | |
run: | | |
make helmvm-darwin-amd64 VERSION=$TAG_NAME | |
tar -C output/bin -czvf helmvm-darwin-amd64.tgz helmvm | |
make clean | |
- name: Build darwin-arm64 | |
run: | | |
make helmvm-darwin-arm64 VERSION=$TAG_NAME | |
tar -C output/bin -czvf helmvm-darwin-arm64.tgz helmvm | |
make clean | |
- name: Publish release | |
uses: marvinpinto/action-automatic-releases@latest | |
with: | |
repo_token: ${{ secrets.GITHUB_TOKEN }} | |
prerelease: false | |
files: | | |
*.tgz |