Skip to content

application (level 7) protocol on ports #72

application (level 7) protocol on ports

application (level 7) protocol on ports #72

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
workflow_dispatch:
jobs:
binary:
runs-on: ubuntu-latest
strategy:
matrix:
os: [linux, darwin, windows]
arch: [amd64, arm64]
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: go version
-
name: Build
run: |
GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} make build
-
name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: compose-spec
path: ./bin/*
if-no-files-found: error
release:
permissions:
contents: write # to create a release (ncipollo/release-action)
runs-on: ubuntu-latest
needs:
- binary
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Download artifacts
uses: actions/download-artifact@v4
with:
name: compose-spec
path: bin/release
-
name: GitHub Release
uses: ncipollo/release-action@v1
with:
artifacts: bin/release/*
generateReleaseNotes: true
draft: true
token: ${{ secrets.GITHUB_TOKEN }}