Skip to content

ci(tools): update docker/login-action action to v3.7.0 (#165) #359

ci(tools): update docker/login-action action to v3.7.0 (#165)

ci(tools): update docker/login-action action to v3.7.0 (#165) #359

Workflow file for this run

---
name: go-binaries
on:
workflow_dispatch:
pull_request:
branches:
- main
push:
branches:
- main
tags:
- v*
permissions:
contents: write
jobs:
binaries:
runs-on: ubuntu-latest
steps:
- name: Checkout source
id: source
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup golang
id: golang
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
go-version-file: .go-version
- name: Run generate
id: generate
run: make generate
- name: Run release
id: release
run: make release
- name: Create GitHub Release
uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # v2.5.0
if: startsWith(github.ref, 'refs/tags/')
with:
generate_release_notes: true
files: "dist/*"
token: ${{ secrets.BOT_PAT_TOKEN }}
- name: Update version
uses: nowactions/update-majorver@f2014bbbba95b635e990ce512c5653bd0f4753fb # v1.1.2
if: startsWith(github.ref, 'refs/tags/v')
...