This repository was archived by the owner on Dec 8, 2025. It is now read-only.
deps: update ckotzbauer/actions-toolkit action to v0.50.0 #1024
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: test | |
| on: | |
| push: | |
| branches: | |
| - "**" | |
| jobs: | |
| e2e-test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| kubernetes-version: | |
| - "1.27.11" | |
| - "1.28.7" | |
| - "1.29.2" | |
| steps: | |
| - name: Setup Go | |
| uses: ckotzbauer/actions-toolkit/[email protected] | |
| - name: Set up QEMU | |
| id: qemu | |
| uses: docker/setup-qemu-action@v3 | |
| with: | |
| image: tonistiigi/binfmt:latest | |
| platforms: all | |
| - name: Set up Docker Buildx | |
| id: buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - uses: azure/[email protected] | |
| with: | |
| version: "v${{ matrix.kubernetes-version }}" | |
| - name: Install GoReleaser | |
| uses: goreleaser/goreleaser-action@v6 | |
| with: | |
| version: "v2.0.1" | |
| install-only: true | |
| - name: Build binary | |
| run: make build | |
| - name: Build image | |
| uses: docker/build-push-action@v6 | |
| with: | |
| context: . | |
| push: false | |
| load: true | |
| platforms: linux/amd64 | |
| tags: | | |
| ckotzbauer/access-manager:latest | |
| - name: Execute Tests | |
| run: make e2e-test -e K8S_VERSION=${{ matrix.kubernetes-version }} | |
| build: | |
| uses: ckotzbauer/actions-toolkit/.github/workflows/[email protected] | |
| with: | |
| install-go: true | |
| install-goreleaser: true | |
| install-kubebuilder: true | |
| build-commands: make build | |
| test-commands: make test | |
| build-image: true | |
| docker-tag: ghcr.io/ckotzbauer/access-manager:latest | |
| scan-image: true |