Bump github.com/pires/go-proxyproto from 0.9.2 to 0.10.0 #1057
Workflow file for this run
This file contains hidden or 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: Continuous Integration | |
| on: [ push, pull_request ] | |
| jobs: | |
| exeuction: | |
| name: Continuous Integration | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Set up Helm | |
| uses: azure/setup-helm@v4 | |
| with: | |
| version: v3.13.2 | |
| - name: Install Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go.mod | |
| check-latest: true | |
| - name: Set up Docker | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Docker login | |
| env: | |
| REGISTRY_USER: ${{ github.actor }} | |
| REGISTRY_PASSWORD: ${{ github.token }} | |
| run: | | |
| echo "$REGISTRY_PASSWORD" | docker login -u "$REGISTRY_USER" --password-stdin ghcr.io | |
| - name: "Download dependencies: Binary" | |
| run: | | |
| go mod download | |
| - name: "Test: Binary/Image" | |
| run: | | |
| go run ./build --test | |
| - name: "Build: Binary/Image" | |
| run: | | |
| go run ./build --build | |
| - name: "Build: Helm Chart" | |
| run: | | |
| mkdir -p var | |
| [[ "${GITHUB_REF}" =~ ^refs\/tags\/v.+$ ]] && version="${GITHUB_REF/refs\/tags\/v/}" || version=0.1.0 | |
| helm package ./charts/lingress --app-version=v${version} --version=${version} --destination var | |
| mv var/lingress-*.tgz var/lingress-helm-chart.tgz | |
| sha256sum -b var/lingress-helm-chart.tgz | cut -d' ' -f1 > var/lingress-helm-chart.tgz.sha256 | |
| tar -xzf var/lingress-helm-chart.tgz lingress/Chart.yaml -O > var/lingress-helm-chart.yaml | |
| - name: "Deploy: Binary/Image" | |
| if: startsWith(github.ref, 'refs/tags/') | |
| run: | | |
| go run ./build --deploy | |
| - name: "Deploy: Assets" | |
| uses: softprops/action-gh-release@v2 | |
| if: startsWith(github.ref, 'refs/tags/') | |
| with: | |
| draft: true | |
| files: | | |
| var/lingress-helm-chart.tgz | |
| var/lingress-helm-chart.tgz.sha256 | |
| var/lingress-helm-chart.yaml | |
| dist/* | |
| generate_release_notes: true | |
| fail_on_unmatched_files: true | |
| - name: "Upload: Artifacts" | |
| uses: actions/upload-artifact@v6 | |
| with: | |
| name: assets | |
| path: | | |
| var | |
| !var/profile.cov | |
| dist | |
| retention-days: 5 |