Skip to content

Add Missing Optional Annotation for Port (#288) #47

Add Missing Optional Annotation for Port (#288)

Add Missing Optional Annotation for Port (#288) #47

Workflow file for this run

name: Release
on:
push:
tags:
- v**
jobs:
helm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Publish Helm charts
uses: stefanprodan/helm-gh-pages@master
with:
token: ${{ secrets.RELEASEBOT_PAT }}
charts_dir: chart
charts_url: "https://infratographer.github.io/charts"
repository: "charts"
app_version: ${{ github.ref_name }}
chart_version: ${{ github.ref_name }}
branch: gh-pages
goreleaser:
runs-on: ubuntu-latest
permissions:
contents: write
packages: write
steps:
- name: Log in to GHCR
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- run: git fetch --force --tags
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser-pro
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}