version: bump to v2.0.0-rc.1 #40
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
name: build_release | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
build_release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: '^1.23' | |
- name: Run tests | |
run: | | |
make test | |
make promu | |
make check_license | |
- name: Build and release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
promu crossbuild | |
promu crossbuild tarballs | |
promu checksum .tarballs | |
promu release .tarballs | |
- name: Build and push to GHCR.io | |
uses: elgohr/Publish-Docker-Github-Action@v5 | |
with: | |
name: ${{ github.repository }} | |
registry: ghcr.io | |
username: galexrt | |
password: ${{ secrets.GITHUB_TOKEN }} | |
tag_names: true | |
- name: Build and push to Quay.io | |
uses: elgohr/Publish-Docker-Github-Action@v5 | |
with: | |
name: ${{ github.repository }} | |
registry: quay.io | |
username: ${{ secrets.REGISTRY_QUAYIO_USERNAME }} | |
password: ${{ secrets.REGISTRY_QUAYIO_PASSWORD }} | |
tag_names: true |