Skip to content

Mainnet Release

Mainnet Release #972

Workflow file for this run

name: Mainnet Release
on:
release:
types: [published]
jobs:
release:
name: ${{ matrix.release }}
runs-on: ubuntu-latest
strategy:
matrix:
release: ["release", "release-cross","sentinel-release","sentinel-release-cross","directory-release","directory-release-cross"]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: go.mod
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GH_TOKEN }}
- name: ${{ matrix.release }}
env:
RELEASE: true
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run: make ${{ matrix.release }}