Skip to content

Release

Release #365

Workflow file for this run

name: Release
# on:
# push:
# branches: [main]
on:
workflow_dispatch:
permissions: write-all
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.21.x
- name: Add GOBIN to PATH
run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
shell: bash
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.RELEASE_TOKEN }}
- name: Publish Release
shell: bash
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
run: |
git config --global user.name nr-developer-toolkit
git config --global user.email 62031461+nr-developer-toolkit@users.noreply.github.com
make release