Ignore docs building files & folders #12
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copied from https://github.com/grafana/tanka/blob/main/.github/workflows/release.yml | |
# Consider sharing here: https://github.com/grafana/shared-workflows | |
name: Release | |
on: | |
push: | |
tags: | |
- v* | |
permissions: | |
contents: write | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
cache-dependency-path: go.sum | |
- run: make cross | |
- id: docker_tag | |
run: echo "DOCKER_TAG=${GITHUB_REF_NAME#v}" >> "$GITHUB_ENV" | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
body: | | |
This is release `${{ github.ref_name }}` of Grizzly (`grr`). | |
## Install instructions | |
#### Binary: | |
```bash | |
# download the binary (adapt os and arch as needed) | |
$ curl -fSL -o "/usr/local/bin/grr" "https://github.com/grafana/grizzly/releases/download/${{ github.ref_name }}/grr-linux-amd64" | |
# make it executable | |
$ chmod a+x "/usr/local/bin/grr" | |
# have fun :) | |
$ grr --help | |
``` | |
#### Docker container: | |
https://hub.docker.com/r/grafana/grizzly | |
```bash | |
$ docker pull grafana/grizzly:${{ env.DOCKER_TAG }} | |
``` | |
draft: true | |
files: | | |
dist/* |