Skip to content

feat: exposing loadBalancer.externalTrafficPolicy value (#168) #5

feat: exposing loadBalancer.externalTrafficPolicy value (#168)

feat: exposing loadBalancer.externalTrafficPolicy value (#168) #5

name: Release Controller
on:
push:
tags:
- 'v*'
jobs:
goreleaser:
runs-on: ubuntu-latest
name: GoReleaser release
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
check-latest: true
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
bump-charts:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set appVersion
uses: mikefarah/yq@v4
with:
cmd: yq -i '.appVersion = "${{ github.ref_name }}"' 'charts/caddy-ingress-controller/Chart.yaml'
- name: Set image tag
uses: mikefarah/yq@v4
with:
cmd: yq -i '.image.tag = "${{ github.ref_name }}"' 'charts/caddy-ingress-controller/values.yaml'
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
branch: update-charts
commit-message: Update caddy-ingress charts to ${{ github.ref_name }}
title: Update caddy-ingress charts to ${{ github.ref_name }}
body: |
This is an automated pull request to update charts.