Skip to content

A method to return a slice of pointers to encountered errors (#342) #23

A method to return a slice of pointers to encountered errors (#342)

A method to return a slice of pointers to encountered errors (#342) #23

Workflow file for this run

name: Create docker release and publish to pkg.go.dev
on:
push:
tags:
- v*.**
permissions:
contents: read
jobs:
push_to_registry:
name: Publish a new Docker image and publish a new version in pkg.go.dev
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- name: Check out the repo
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Log in to Docker Hub
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09
with:
context: .
push: true
tags: ghcr.io/np-guard/net-top-analyzer:${{ github.ref_name }}
- name: Set up Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
with:
go-version: 'stable'
- name: Publish on pkg.go.dev
run: GOPROXY=proxy.golang.org go list -m github.com/np-guard/cluster-topology-analyzer/v2@${{ github.ref_name }}