Bump go to 1.22 (#343) #22
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: Release | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
build: | |
name: Build and release image | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- run: docker login -u "${{ secrets.QUAY_IO_USER }}" -p "${{ secrets.QUAY_IO_TOKEN }}" quay.io | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: "1.22" | |
- name: Run GoReleaser | |
uses: goreleaser/goreleaser-action@v2 | |
with: | |
version: "0.181.1" | |
args: release --rm-dist | |
env: | |
GITHUB_TOKEN: ${{ secrets.RELEASE_USER_TOKEN }} | |
bump-version: | |
name: Bump app version in Helm chart | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Bump chart version | |
uses: mittwald/bump-app-version-action@v1 | |
with: | |
mode: 'publish' | |
chartYaml: './deploy/helm-chart/kubernetes-replicator/Chart.yaml' | |
env: | |
GITHUB_TOKEN: "${{ secrets.RELEASE_USER_TOKEN }}" | |
HELM_REPO_PASSWORD: "${{ secrets.HELM_REPO_PASSWORD }}" |