Skip to content

Build

Build #763

Workflow file for this run

name: Build
on:
schedule:
- cron: '0 12 * * *'
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
- name: Set up Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 #v5.0.0
with:
go-version: 1.21
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@0d103c3126aa41d772a8362f6aa67afac040f80c #v3
- name: Update libcontainerssh
run: |
go get go.containerssh.io/libcontainerssh@main
go mod tidy
- name: Run GoReleaser (snapshot)
uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 #v5.0.0
with:
version: latest
args: build --snapshot --clean
- name: Upload artifacts
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 #v4.3.1
with:
name: build-results
path: build
if-no-files-found: error