Skip to content

Merge pull request #21 from ethpandaops/ci/lint-timeout #67

Merge pull request #21 from ethpandaops/ci/lint-timeout

Merge pull request #21 from ethpandaops/ci/lint-timeout #67

Workflow file for this run

name: release
on:
push:
tags:
- 'v*'
permissions:
contents: write
packages: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: ./.github/workflows/go-setup
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Release
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
trigger-installer-update:
needs: [goreleaser]
runs-on: ubuntu-latest
steps:
- name: Get version
id: get_version
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
- name: Trigger contributoor-installer update
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.PANDA_OPS_BOT_PAT }}
repository: ethpandaops/contributoor-installer
event-type: update-contributoor
client-payload: '{"version": "${{ steps.get_version.outputs.VERSION }}"}'