Skip to content

Merge pull request #55 from GuanceCloud/slice-expr #12

Merge pull request #55 from GuanceCloud/slice-expr

Merge pull request #55 from GuanceCloud/slice-expr #12

Workflow file for this run

name: "Release"
on:
push:
tags:
- "v*"
permissions:
contents: write
jobs:
release:
name: "Release"
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Docker Login
uses: docker/login-action@v1
with:
registry: docker.io
username: guancecloud
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Fetch all tags
run: git fetch --force --tags
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.19
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
args: release --rm-dist --debug
env:
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
FURY_TOKEN: ${{ secrets.FURY_TOKEN }}
CHOCOLATEY_API_KEY: ${{ secrets.CHOCOLATEY_API_KEY }}