Skip to content

ci: add workflow to publish on ghcr on new tag #282

ci: add workflow to publish on ghcr on new tag

ci: add workflow to publish on ghcr on new tag #282

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
go-version: [1.21.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
env:
GO111MODULE: on
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: go mod download
- name: Build binary
run: make build