Skip to content

Add location IDs to additional subject ids (#22) #13

Add location IDs to additional subject ids (#22)

Add location IDs to additional subject ids (#22) #13

Workflow file for this run

name: Release
on:
push:
tags:
- v**
jobs:
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@v3
with:
fetch-depth: 0
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- run: git fetch --force --tags
- uses: actions/setup-go@v4
with:
go-version-file: go.mod
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser-pro
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}
helm:
runs-on: ubuntu-latest
needs: goreleaser
steps:
- uses: actions/checkout@v3
- 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