Skip to content

Merge pull request #55 from onlineque/renovate/github.com-digitalocea… #27

Merge pull request #55 from onlineque/renovate/github.com-digitalocea…

Merge pull request #55 from onlineque/renovate/github.com-digitalocea… #27

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
# Pattern matched against refs/tags
tags:
- '**' # Push events to every tag including hierarchical tags like v1.0/beta
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.23'
- name: Build
run: CGO_ENABLED=0 GOOS=linux go build -C storageagent -o storageagent
- uses: actions/upload-artifact@v4
with:
name: storageagent
path: storageagent/storageagent
- name: Upload the binaries
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ github.ref }}
file: ./storageagent/storageagent