Skip to content

Merge pull request #118 from 0xPolygon/patch/fork8/stop-l1inforoot-reorg #33

Merge pull request #118 from 0xPolygon/patch/fork8/stop-l1inforoot-reorg

Merge pull request #118 from 0xPolygon/patch/fork8/stop-l1inforoot-reorg #33

Workflow file for this run

name: Release
on:
push:
tags:
# run only against tags that follow semver (https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string)
- 'v[0-9]+.[0-9]+.[0-9]+*'
- 'v[0-9]+.[0-9]+.[0-9]+*.[0-9]+'
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean --config=.goreleaser-cdk.yaml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}